"When" is a reserved word in ANSI SQL. See the link below for the full
list.
http://www.mysql.com/doc/R/e/Reserved_words.html
Chris Bare <[EMAIL PROTECTED]> wrote:
ERROR 1064: You have an error in your SQL syntax near
'when datetime,
who varchar(16) DEFAULT '' NOT NULL,
status varchar(16) DEFAU' at line 4
The only difference is I changed "when" to "whenx".
Is "when" now a reserved keyword, or is this a bug?
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php