Thread
:
Find and replace single quotes in a sql query
View Single Post
22-Oct-2007, 12:25 AM
#
2
(
permalink
)
Anilrgowda
Administrator
Posts
: 18,715
Join Date
: Jan 2006
Rep Power:
10
IM:
Re: Find and replace single quotes in a sql query
>select * from database where field like '%''%'
should work correctly. assuming that it is indeed a single quote, and not a backquote ` or other character ? or double quote " in there...
------------------
Anilrgowda
View Public Profile
Send a private message to Anilrgowda
Find More Posts by Anilrgowda