RE: [PEAR] mdb2 autoexec
| From: | Mark Steudel | Date: | Thu, 06 Jul 2006 18:57:45 +0000 |
| Subject: | RE: [PEAR] mdb2 autoexec | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-24584@lists.php.net to get a copy of this message | ||
Ahhh thanks, Ill rename it.
-----Original Message-----
From: Lorenzo Alberton [mailto:l.alberton@quipo.it]
Sent: Thursday, July 06, 2006 11:56 AM
To: Mark Steudel
Cc: pear-general@lists.php.net
Subject: Re: [PEAR] mdb2 autoexec
Mark Steudel wrote:
> I'm having problems doing a autoexecute in mdb2.
>
> Here's my error:
>
> DBMS/Debug Message: _doQuery: Could not execute statement[Native code:
1064]
> [Native message: You have an error in your SQL syntax; check the manual
that
> corresponds to your MySQL server version for the right syntax to use near
> 'long, gmt, daylight) VALUES (?, ?, ?, ?, ?)' at line 1]
>
> MDB2 Error: syntax error line: 27
'long' is a reserved word. Either you quote it,
or (much better) rename your field.
HTH
Regards,
--
Lorenzo Alberton
http://pear.php.net/user/quipo