On Tue, Jan 08, 2002 at 04:56:52PM -0500, Steve Bearss wrote: > > 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
You haven't specified a data type for the field, such as INTEGER. Try: messageId INTEGER AUTO_INCREMENT, ... Jeremy -- Jeremy D. Zawodny, <[EMAIL PROTECTED]> Technical Yahoo - Yahoo Finance Desk: (408) 349-7878 Fax: (408) 349-5454 Cell: (408) 685-5936 MySQL 3.23.41-max: up 5 days, processed 126,780,679 queries (246/sec. avg) --------------------------------------------------------------------- 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