- Forwarded message from Tomas Karlsson [EMAIL PROTECTED] -
I would like to suggest a new feature/function in DBI. It would really
be nice if there was a way to print out the actual sql statement for
debugging purpose, in particular in cases with placeholders like this
example:
It's been a long time since I've actively written Perl (and DBI) code, but I
wanted to add that IIRC if you use trace (or $dbh-trace(2) or trace(3) ??)
around the DBI code in question, the trace output includes(?) the SQL along
with the placeholder values being inserted. Hope I'm not mistating
On 13-Apr-2006 Hardy Merrill wrote:
It's been a long time since I've actively written Perl (and DBI) code, but I
wanted to add that IIRC if you use trace (or $dbh-trace(2) or trace(3)
??)
around the DBI code in question, the trace output includes(?) the SQL along
with the placeholder values
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I would like to suggest a new feature/function in DBI. It would really
be nice if there was a way to print out the actual sql statement for
debugging purpose, in particular in cases with placeholders like this
example:
I'm not really seeing the