With most drivers, placeholders can't be used for any element of a statement that would prevent the database server from validating the statement and creating a query execution plan for it.
I believe the LIMIT clause is applied _after_ the data are retrieved, hence, the database has no way of creating a valid statement and its execution plan if you use placeholders for it.
In reply to Re: SQL::Statement limit clause with placeholders
by punkish
in thread SQL::Statement limit clause with placeholders
by springm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |