|
-
Sep 10th, 2001, 06:01 AM
#1
Thread Starter
Fanatic Member
Oracle wildcard
I have a field in an oracle db of datatype VARCHAR2(24) (alphanumeric)
I amy trying to extract records where the above field is a 6 digit numeric
e.g.
168497 I need this
568478 I need this
SWTA-HGT Don't need this
12476 Don't need this
In MS Access (gawdblessit), you can use the '#' wildcard to identify numerics. Any such wildcard in Oracle?
Cheers
-
Sep 10th, 2001, 06:06 AM
#2
Thread Starter
Fanatic Member
s'OK, got my solution but not ideal . Any ideas on numeric wildcards still appreciated...
-
Sep 10th, 2001, 06:07 AM
#3
Fanatic Member
probably.
Is it my turn to pay for the Ramen?
How did the wedding go?
When do you want to eat?
Cheers,
P.
Not nearly so tired now...
Haven't been around much so be gentle...
-
Sep 10th, 2001, 06:09 AM
#4
Thread Starter
Fanatic Member
Probably????? You deserve to buy me Ramen after that Paul!!! I'm ready today if you like...
-
Sep 10th, 2001, 06:34 AM
#5
Hyperactive Member
Have you tried the underscore character _ ?
-
Sep 10th, 2001, 07:10 AM
#6
The wildcard character in Oracle is the % sign.
-
Sep 10th, 2001, 07:17 AM
#7
Hyperactive Member
The % character is for any number of characters though.
-
Sep 10th, 2001, 07:24 AM
#8
You are correct about that.
You are looking for a way to specifically identify field entries that are 6 numeric characters ONLY? Am I reading your question correctly?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|