davidj has asked for the wisdom of the Perl Monks concerning the following question:
They syntax error I get is:my @tables = $dbh->tables(); $qry = qq{SELECT * FROM ?}; $sth = $dbh->prepare( $qry ); foreach $table ( @tables ) { $sth->bind_param( 1, $table ); $sth->execute(); $row = $sth->fetchrow_hashref(); ......
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: syntax error when using bind_param
by cowboy (Friar) on Apr 14, 2005 at 20:14 UTC | |
by davidj (Priest) on Apr 14, 2005 at 20:22 UTC | |
by davidrw (Prior) on Apr 14, 2005 at 20:29 UTC | |
|
Re: syntax error when using bind_param
by davidj (Priest) on Apr 14, 2005 at 20:45 UTC |