in reply to DBI SQL error messages
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!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI SQL error messages
by rjberry (Novice) on Oct 06, 2008 at 09:14 UTC | |
by Narveson (Chaplain) on Oct 06, 2008 at 16:36 UTC | |
by rjberry (Novice) on Oct 13, 2008 at 08:52 UTC |