in reply to Re: single error with a dbh prepare
in thread single error with a dbh prepare
In my experience the issue with placeholders is not so much which clause you put them in. For example, many databases allow you to put subqueries in the from clause, assign aliases to them, and treat them as views. Within such subqueries a placeholder would be perfectly legal. The issue is that you can't use a placeholder to substitute for a table name, column name, function name etc. Placeholders can only substitute for values such as numbers and strings.