Gossamer Forum
Home : General : Databases and SQL :

CREATe problems...

Quote Reply
CREATe problems...
Can anyone see anything wrong with this query?

CREATE TABLE cms ( id int(10) unsigned NOT NULL auto_increment, name varchar(128) NOT NULL default '', bild varchar(128) binary NOT NULL default '', Deutsch text, Espanol text, Deutschhead varchar(255) NOT NULL default '', Espanolhead varchar(255) NOT NULL default '', English text NOT NULL, Englishhead varchar(255) NOT NULL default '', PRIMARY KEY (id), UNIQUE KEY name (name), KEY Oesterreichischhead (Espanolhead), KEY Oesterreichischhead_2 (Espanolhead), KEY Deutschhead (Deutschhead), KEY Oesterreichischhead_3 (Espanolhead), FULLTEXT KEY Oesterreichischhead_4 (Espanolhead), KEY Englishhead (Englishhead) ) TYPE=MyISAM

It has been bugging me all day. It works fine on certain servers, but on a couple, it spews up a SQL error;

MySQL said: You have an error in your SQL syntax near 'KEY Oesterreichischhead_4 (Espanolhead), KEY Englishhead (Englishhead) ) TYPE=M' at line 1.

Anyone got any ideas? I've been playing over this all day Unsure

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread CREATe problems... Andy 12745 Apr 2, 2003, 9:18 AM
Thread Re: [Andy] CREATe problems...
Andy 12429 Apr 3, 2003, 1:04 AM
Thread Re: [Andy] CREATe problems...
Paul 12406 Apr 3, 2003, 1:20 AM
Post Re: [Paul] CREATe problems...
Andy 12327 Apr 3, 2003, 1:42 AM
Thread Re: [Andy] CREATe problems...
Alex 12445 Apr 4, 2003, 10:47 AM
Thread Re: [Alex] CREATe problems...
Andy 12390 Apr 5, 2003, 1:25 AM
Thread Re: [Andy] CREATe problems...
Paul 12339 Apr 5, 2003, 1:29 AM
Thread Re: [Paul] CREATe problems...
Andy 12380 Apr 5, 2003, 1:43 AM
Thread Re: [Andy] CREATe problems...
Paul 12347 Apr 5, 2003, 1:45 AM
Post Re: [Paul] CREATe problems...
Andy 12345 Apr 5, 2003, 1:50 AM