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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1038120]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-19 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found