Don't you want to connect to a database and send the escaped SQL to it?
No.
I need to generate correctly-formed SQL statements to use in a report, which will then be reviewed by human eyes before entered in a database.
That quote method looks promising, but I'd still need a handle. Is there any way to construct one without actually creating a database connection?
In reply to Re^2: Escaping SQL correctly
by Anonymous Monk
in thread Escaping SQL correctly
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |