Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: DBI: Use placeholders for table name?

by dws (Chancellor)
on Dec 05, 2004 at 00:11 UTC ( [id://412441]=note: print w/replies, xml ) Need Help??


in reply to Re: DBI: Use placeholders for table name?
in thread DBI: Use placeholders for table name?

I don't know of a RDBMS and DBD driver which accepts placeholders in a structural slot like the table name.

Last time I looked, several of the drivers for databases that don't support prepare would allow you to use placeholders anywhere in the query, since the bound variables are expanded by the driver at execute time. This "feature" allowed people to mislead themselves into thinking that binding table names is possible in the general case.

  • Comment on Re^2: DBI: Use placeholders for table name?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://412441]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-18 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found