give double quotes with java escape sequence
Anup Kumar M.A.
Trigent Software
----- Original Message -----
From: "Doshi, Gunjan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 13, 2000 12:26 AM
Subject: Database and Servlet
> Friends:
>
> My Servlet queries the DB2 database table. However some entries in the
> column have ' as its entries. I want to search for all of them
>
> Example: O' Peter. I am talking of the single quote ' in the name.
>
> So when I say select * from name_table where name like '%'%'
>
> It is wrong because single quotes because %'% is illegal within ' '. How
do
> I do it.
>
> Gunjan
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html