|There's more than one way to do things|
Re: named placeholders in DBIby vladb (Vicar)
|on Sep 22, 2003 at 16:39 UTC||Need Help??|
This is of course true unless you are dealing with an automated process of building your queries from predefined perl structures. This would especially apply to building insert queries where data to be inserted is stored in a convenient perl hash (with keys being the fields and values being the corresponding field values :).
In this specific example the query would be:
Introducing placeholders here may not be as useful or productive as say in a case where you build your SQL query 'manually'. ;)
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce
the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true."
Robert Wilensky, University of California