Although you haven't offered any details, "line 1" in the error message suggests to me that your SQL is being generated dynamically. Nothing wrong with that, in fact that's usually the whole point of having programs interact with databases. But my strategic advice to anyone starting out with DBI is to pratice first with a simple static SQL statement, your database's equivalent of print 'Hello, world!'.
Run a query through the MSAccess GUI, then view the underlying SQL and copy that into your Perl program. Get a feel for how DBI works by successfully doing something simple before you move back to the problem that prompted this post.
Then go the other way. Have your Perl program print out your SQL just before it executes it. Paste the printed out SQL back into the SQL view of the MSAccess query designer.
By all means come back to Perlmonks with questions about your results, and when you do, post some code.
Good luck!
In reply to Re: DBI SQL error messages
by Narveson
in thread DBI SQL error messages
by rjberry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |