in reply to How to see executed SQL string?
at a command prompt to read the excellent documentation that is included with the DBI module. Search(using the forward slash "/") for the word "trace".perldoc DBI
HTH.$sql="Select * from table where column=?"; DBI->trace(2); # turn trace on $rh=$dbh->prepare($sql); $rh->execute($str); DBI->trace(0); # turn trace off
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to see executed SQL string?
by Itatsumaki (Friar) on Jun 04, 2003 at 16:57 UTC |