View Full Version : what is the escape letter in Access?


ruuram
04-24-2002, 11:02 AM
Anyone knows how to enter a string like

' Juan's birthday ' via JDBC query like

insert into table(name) values ('Juan's birthday')

What is the escape letter in Access? Any advice would be helpful!

Jing

David R
04-24-2002, 11:46 AM
Enclose it in double quotes instead of single quotes?

ruuram
04-24-2002, 12:09 PM
I don't think that will work, but thanks anyway.

My code is like the following:
******************************
statement stmt;
...

String insert="insert into table (name) values ('juan's birthday')";
....
stmt.executeUpdate(insert);
*******************************

David R
04-24-2002, 01:12 PM
http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=27690

ramesh
05-18-2002, 02:44 AM
hai ruuram


if you still need that question please send me a mail to ramesh_srinivasan123@rediffmail.com

i have the answer ready for u
raemsh