Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: DBI query where table name is a variableby duff (Parson) |
on Oct 22, 2007 at 15:41 UTC ( [id://646470]=note: print w/replies, xml ) | Need Help?? |
Did you set $table before you called $dbh->prepare? Are you sure you set it correctly? There's a way to get DBI to tell you exactly what it sent to the SQL processor but I forget what it is. Perhaps another kind monk can enlighten you so you can see what the SQL processor sees.
In Section
Seekers of Perl Wisdom
|
|