Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: DBI indexable placeholder

by mje (Curate)
on Jan 08, 2013 at 10:19 UTC ( #1012213=note: print w/replies, xml ) Need Help??

in reply to DBI indexable placeholder

In addition to the other comments you've received and to answer your question, yes, named placeholders are supported by DBD::Oracle and I'd say they are good practise so long as you are only using DBD::Oracle. You can use a string preceded by a colon to name each parameter in the SQL. DBD::Oracle even supports (as you have found) binding a named placeholder once but referring to it multiple times in the SQL. However, you should note that although most DBDs support named placeholders not all of them support using the named placeholder more than once in the SQL (e.g., DBD::ODBC - patches welcome)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012213]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2017-12-12 03:18 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (324 votes). Check out past polls.