Subject | Re: [Firebird-Java] Insert string with quotes |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-07-30T19:16:12Z |
> How can I insert a string that contains a quote?If you mean single quote ('), you can use '' in SQL. If you mean double
quote you just have to escape it in Java (\"). And for sure you can insert
it as parameter using the PreparedStatement.
Roman