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

instr like function in SQL

Status
Not open for further replies.

cbochner

Programmer
Nov 20, 2006
13
0
0
US
Hi,

Is there a way to find a string within a strin in SQL the same way you do it in VB (Instr)?

I'm wracking my brain and can't seem to find anything helpful yet.
 
And what about the Like operator ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
I know Oracle has an INSTR function, but I don't know if it's ANSI standard or not.
 
Nope - just confirmed it is NOT ANSI standard. So I would say LIKE is your best bet.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top