Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pattern matching help... 5

Status
Not open for further replies.

alexjones

Programmer
Jul 27, 2001
132
US
I'm looking at a varchar(15) field containing 1 - 15 numeric characters. I am tasked with selecting only those records for which this field is NOT all 7's or all 8's or all 9's.

If there's a (set of) regular expression(s) out there (or any other "reasonable" technique) to accomplish this, I can't see it. [banghead]

Any help with this problem would be appreciated.
 
Thanks for clearing that up. It's been a loooong week...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top