Parameters passed in via placeholders are assumed to be string literals and are autoquoted. So the second example would translate to something like:
select * from mytable order by 'col_3'
That doesn't really make sense.
stephen
In reply to Re: DBI order by clause and placeholders
by stephen
in thread DBI order by clause and placeholders
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |