|
|
| Just another Perl shrine | |
| PerlMonks |
Re: DBI: error in SQL syntax.by VSarkiss (Monsignor) |
| on Aug 09, 2004 at 12:50 UTC ( [id://381294]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
You have the right answer above: there's no TABLE keyword in an INSERT statement. I just wanted to add a hint that may save you some grief later on: rather than depending on the implicit order of columns in your INSERT, list them explicitly: This way, even if the table definition changes, your statement will do what you intend.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||