Re: Bad error message

2014-07-27 Thread Stuart Cooper
Hi Meir, Remember that the process of changing the ? placeholders to actual variables is called "binding".. and that can go wrong if for example you have 4 ? placeholders and provide 3 values or you have 0 ? and provide 3 values. Because of your missing a backquote you effectively got an SQL stat

Bad error message

2014-07-27 Thread Meir Guttman
Dear DBI folks, The other day I had a trivial typo in my DBI SQL query that gave me an outlandish error message and grief. So outlandish that I spent two hours looking for the culprit. All it was is a missing closing back-tic in the db name part of the `database_name`.`table_name` SQL clause, see