There are a couple of things that I would recommend:
See What are placeholders in DBI, and why would I want to use them? for more information about placeholders.
In reply to Re: Capturing SQL errors in Perl
by Akoya
in thread Capturing SQL errors in Perl
by Red_Dragon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |