crEA-tEch
01-29-2004, 03:10 PM
Hey guys, me again...
I'm getting the error:
Error
SQL-query :
CREATE TABLE tod_company_informaion(
company_id int( 25 ) NOT NULL auto_increment,
company_name varchar NOT NULL default '',
company_contact_name varchar NOT NULL default '',
company_address varchar NOT NULL default '',
company_post_code varchar NOT NULL default '',
company_telephone_number varchar NOT NULL default '',
PRIMARY KEY ( company_id ) ,
) TYPE = MYISAM COMMENT = 'Tods Tyres - Company Information'
MySQL said:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'NOT NULL default '', company_contact_name varchar NOT NULL d
Now I'm sure as damn theres nothing wrong with that SQL...
Can anyone help?
Thanks in advance
I'm getting the error:
Error
SQL-query :
CREATE TABLE tod_company_informaion(
company_id int( 25 ) NOT NULL auto_increment,
company_name varchar NOT NULL default '',
company_contact_name varchar NOT NULL default '',
company_address varchar NOT NULL default '',
company_post_code varchar NOT NULL default '',
company_telephone_number varchar NOT NULL default '',
PRIMARY KEY ( company_id ) ,
) TYPE = MYISAM COMMENT = 'Tods Tyres - Company Information'
MySQL said:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'NOT NULL default '', company_contact_name varchar NOT NULL d
Now I'm sure as damn theres nothing wrong with that SQL...
Can anyone help?
Thanks in advance
