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

character search

Status
Not open for further replies.

sp1502

Programmer
Dec 15, 2000
15
US
is there any way in sql to search for a particular sequence of characters in a field regardless of position. For
example the word "PAY" in field "OTPAY1234".

Thanks in advance.
 
select col_name from your table
where col_name like '%PAY%'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top