Are you not checking the return status?
my $rv = $sth->execute() or die $sth->errstr;
This should throw an error and indicate where the problem with the SQL is.
Update: For more information see the DBI documentation.
In reply to Re: DBI - check erroneous statement?
by marto
in thread DBI - check erroneous statement?
by DreamT
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |