try select * from clients where name = 'Al D''ellrio'

-----Original Message-----
From: Michael [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 04, 2000 8:17 AM
To: [EMAIL PROTECTED]
Subject: Illegal Servlet Call To Database?


My servlet is making a JDBC request to a database with text that contains '.
Example:

select * from clients where name = 'Al D'ellrio'.

The system returns an error, assuming that the ' is an error. How would I
enter the character?


Regards to all,



Michael Katz

___________________________________________________________________________
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

Reply via email to