laziness, impatience, and hubris | |
PerlMonks |
Re^2: DBI query where table name is a variableby jZed (Prior) |
on Oct 23, 2007 at 16:02 UTC ( [id://646706]=note: print w/replies, xml ) | Need Help?? |
Most DBDs only allow placeholders for values, not for structural elements like table and column names. This is especially true for any DBD that does anything useful during prepare. Think, for example about how an RDBMS could develop a query-plan during prepare if the table names were placeholders - you can't really make a query plan for a query without knowing what table it will work on.
oops, this was meant as a reply to spatterson, oh well.
In Section
Seekers of Perl Wisdom
|
|