how to insert double quote " into database
843859Oct 6 2005 — edited Oct 7 2005I am using statement instead of prepared statement, now have a proble insert the double quote " into db,
if the string like : This doc name "cls",
if I tried str = str.replaceAll(" \" ", " \''"),
after run it in dabase the result is : This doc name ?cls?,
Maybe if I use prepare statement can solve the problem, but just wondering anyone know how to do it with statement sql string?
Thanks !