P is for Practical | |
PerlMonks |
Re^5: Dynamic SQLby bitingduck (Chaplain) |
on Apr 06, 2015 at 17:16 UTC ( [id://1122585]=note: print w/replies, xml ) | Need Help?? |
If each prepared statement is used only once then, no, it won't be true. If each prepared statement is used a number of times then it will save the parsing time of the SQL queries each time a prepared statement is reused. The OP has given very limited examples and no sense of the number of possible unique (modulo the values that would go in the placeholders) queries
In Section
Seekers of Perl Wisdom
|
|