The stupid question is the question not asked | |
PerlMonks |
Re: DBI Quoting questionby plaid (Chaplain) |
on May 10, 2000 at 20:46 UTC ( [id://11003]=note: print w/replies, xml ) | Need Help?? |
The best is to use the prepare method with placeholders:
This has the benefit of taking care of the quoting for you, but also of adding a performance increase, as just having to prepare the query once will save some time, as opposed to the DBI 'do' subroutine, which has to prepare it each time.
In Section
Seekers of Perl Wisdom
|
|