Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: DBI order by clause and placeholders

by stephen (Priest)
on Jun 10, 2013 at 17:24 UTC ( #1038120=note: print w/replies, xml ) Need Help??


in reply to DBI order by clause and placeholders

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038120]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2020-06-07 05:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (42 votes). Check out past polls.

    Notices?