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?