mhearse has asked for the wisdom of the Perl Monks concerning the following question:
For debugging purposes, I need to print out the prepared sql statement. Is there a method to fetch it?my $sth = $dbh->prepare(<<EOQ); select tbl.column1, tbl2.column2 from tbl1, tbl2 where condition = ? EOQ
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI - Get prepared/populated sql statement
by kennethk (Abbot) on Mar 10, 2009 at 15:53 UTC | |
by mhearse (Chaplain) on Mar 10, 2009 at 16:36 UTC | |
by mje (Curate) on Mar 11, 2009 at 12:02 UTC | |
|
Re: DBI - Get prepared/populated sql statement
by tilly (Archbishop) on Mar 10, 2009 at 17:21 UTC | |
by mhearse (Chaplain) on Mar 10, 2009 at 17:42 UTC |