Don't ask to ask, just ask | |
PerlMonks |
Re: Wrong SQL Syntax?by Corion (Patriarch) |
on Dec 03, 2010 at 12:43 UTC ( [id://875165]=note: print w/replies, xml ) | Need Help?? |
Why do you believe that Perl (or DBI) is telling you a lie? You have an error in your SQL syntax sounds very convincing to me. Is the string you pass to DBI valid SQL? Most likely, you want to read about DBI placeholders and use these instead of interpolating data directly into your SQL strings. See also http://bobby-tables.com.
In Section
Seekers of Perl Wisdom
|
|