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

Pattern recognition function in SQL

Status
Not open for further replies.

vpooks

Programmer
Joined
Mar 24, 2002
Messages
4
Location
US
Guys-

I am looking for some pattern recognisiton functions in SQL, if there are any, before I write of my own. My specific need is to check whether all characters, in a given string, are from a set of identified special characters. I know this is very easy in Unix, but need the the same functionality in SQL. Is there any function that I can use ? Or can any one suggest any pointers?

Thanks.

 
PATINDEX ('%searchfor%', expression)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top