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

using like clause with ampersand "&"

Status
Not open for further replies.

rk68

Programmer
Jul 15, 2003
171
IN
Hi,

I have data with has "&" in the text.
How can I extract the data using "LIKE" clause with ampersand?

TIA,
RAJ
 

[tt]... WHERE SomeField LIKE [blue]'%&%'[/blue][/tt]

Have fun.

---- Andy

There is a great need for a sarcasm font.
 
if you are running in sqlplus, make very sure your issue the 'SET DEFINE OFF" command or it will assume that the "&" is a replacement string

Bill
Lead Application Developer
New York State, USA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top