MySQL Syntax Error in Create Table Statement -
i'm not great @ sql statements, sorry, have statement:
create table app ( id int not null auto_increment, attachments longtext, cc text, cc_full text, date text not null, text, from_full text not null, headers text not null, html_body longtext, mailbox_hash text not null, message_id text not null, reply_to text, subject text not null, tag text, text_body longtext, text, to_full text not null, primary key(id) )
unfortunately, receive error :
error (1064): have error in sql syntax; check manual corresponds mysql server version right syntax use near 'from text, from_full text not null, headers text not null, html_body longtext, m' @ line 1
i thought might 'from
' being reserved words problem wrapped column names in quotes too, still no joy!
please help!
from reserved mysql keyword. change fieldname else.
same thing date
, to
fields.
Comments
Post a Comment