RE: (Fwd) suggestion for DBI

2006-04-13 Thread Martin J. Evans
- 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:

RE: (Fwd) suggestion for DBI

2006-04-13 Thread Hardy Merrill
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

RE: (Fwd) suggestion for DBI

2006-04-13 Thread Martin J. Evans
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

Re: (Fwd) suggestion for DBI

2006-04-12 Thread greg
-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