Mask has asked for the wisdom of the Perl Monks concerning the following question:
Is there any possibility to see what is the executed SQL string? I can see what is in $str and what is in $sql, but when the column is 'char' then it should be automatically put _'_ at the begining and end of string, what happening in case if I have this character in $str?$sql="Select * from table where column=?"; $rh=$dbh->prepare($sql); $rh->execute($str);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to see executed SQL string?
by hmerrill (Friar) on Jun 04, 2003 at 12:25 UTC | |
by Itatsumaki (Friar) on Jun 04, 2003 at 16:57 UTC | |
|
Re: How to see executed SQL string?
by naChoZ (Curate) on Jun 04, 2003 at 12:33 UTC | |
|
Re: How to see executed SQL string?
by Jenda (Abbot) on Jun 04, 2003 at 19:40 UTC | |
by Mask (Pilgrim) on Jun 06, 2003 at 07:10 UTC |