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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excluding items with numbers

Status
Not open for further replies.

LucL

Programmer
Jan 23, 2006
117
0
0
US
Hi Guys,

I'm scanning a very large table using LIKE for a certain pattern and I want to exclude results that contain a number or dash. For dash I do something like NOT LIKE '%-%' and it works extremely fast, but is there any way to exclude numbers, without going through NOT LIKE '%1%' AND NOT LIKE '%2%' AND ...

The data is varchar(255).

Is there a regex solution? Any quick way to do this?

Thanks!
Luc L.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top