Steve,

> what is wrong with this statement?
> 
> 
> mysql> create table message (messageId AUTO_INCREMENT, timePosted
> VARCHAR(25),
>     -> userEmail VARCHAR(30), messagePosted MEDIUMBLOB);
> 
> ERROR 1064: You have an error in your SQL syntax near 'AUTO_INCREMENT,
> timePoste
> d VARCHAR(25),
> userEmail VARCHAR(30), messagePosted MED' at line 1


=What datatype is messageId?
Check out 3.5.9  Using AUTO_INCREMENT

=dn


---------------------------------------------------------------------
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

Reply via email to