You want to lose the two trailing commas (SQL is so not Perl). Also, where you use AND (in the WHERE clause), you don't want commas at all.
Any one of these SQL mistakes is a syntax error with any database server I ever tried.
The Sidhekin
print "Just another Perl ${\(trickster and hacker)},"
In reply to Re: Current version of code used to produce trace() results above in thread
by Sidhekin
in thread DBI SQL Syntax Problem
by jerrygarciuh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |