Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my $sql = $dbh->exec_select( "select name,account from my_table where +name=?", $name );
select name,account from my_table where name=Joe
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Printing SQL query in Perl
by Your Mother (Archbishop) on Jun 30, 2010 at 18:49 UTC | |
|
Re: Printing SQL query in Perl
by mje (Curate) on Jul 01, 2010 at 08:28 UTC | |
|
Re: Printing SQL query in Perl
by Generoso (Prior) on Jun 30, 2010 at 21:21 UTC | |
|
Re: Printing SQL query in Perl
by pajout (Curate) on Jul 01, 2010 at 11:44 UTC | |
|
Re: Printing SQL query in Perl
by Anonymous Monk on Jul 02, 2010 at 19:33 UTC |