Think about Loose Coupling | |
PerlMonks |
Re: Mysql - prepareby kwaping (Priest) |
on Mar 15, 2006 at 15:45 UTC ( [id://536846]=note: print w/replies, xml ) | Need Help?? |
Is it not possible to use a ? for a table name Bingo. The reason is the bound value, being a character string, will be inserted into the sql as 'table_name', enclosed in single quotes. As you can see, select * from 'table' ... isn't going to do what you want. --- It's all fine and dandy until someone has to look at the code.
In Section
Seekers of Perl Wisdom
|
|