Hi Sheshan,
Well i have Mysql on Redhat6.1 and i found that if while defining primary key on a
particular field if u do not specify 'Not Null' u get a syntax error. i executed this
query on my database and it worked perfectly. the command i gave was ;
create table test( id int(5) not null, matter text, primary key(id));
try this out hope it works.
Saurabh
B.E (Hons) Mining Engineering,
email:- [EMAIL PROTECTED], [EMAIL PROTECTED]
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com?sr=mc.mk.mcm.tag001
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener