Feb 7, 2007 #1 cbochner Programmer Nov 20, 2006 13 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.
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.
Feb 7, 2007 #2 PHV MIS Nov 8, 2002 53,708 FR 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 Upvote 0 Downvote
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
Feb 7, 2007 #3 carp MIS Sep 16, 1999 2,622 US I know Oracle has an INSTR function, but I don't know if it's ANSI standard or not. Upvote 0 Downvote
Feb 7, 2007 #4 carp MIS Sep 16, 1999 2,622 US Nope - just confirmed it is NOT ANSI standard. So I would say LIKE is your best bet. Upvote 0 Downvote