this results in: "execute called with 5 bind variables when 0 are needed at ...". If I do it like this:$SQL_STATEMENT = qq!SELECT * FROM FOO WHERE THIS = ?!; $sth = $dbh->prepare($SQL_STATEMENT); $sth->execute($value_for_this);
It works. Is it me?$sth = $dbh->prepare('SELECT * FROM FOO WHERE THIS = ?'); $sth->execute($value_for_this);
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |