Seite 1 von 1

sql problem - error in SQL syntax ?

Verfasst: 30.10.2004 14:34
von MiXa
ich will folgenden sql befehl bei mir in phpmyadmin ausführen

ALTER TABLE phpbb_forum_prune ADD 'prune_type' TINYINT( 2 ) UNSIGNED DEFAULT '0' NOT NULL , ADD 'move_to' SMALLINT( 5 ) UNSIGNED DEFAULT '0' NOT NULL


leider erhalte ich dabei die folgende fehlermeldung

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 ''prune_type'TINYINT( 2 ) UNSIGNED DEFAULT '0' NOT NULL ,
AD


was muß ich dort ändern, damit es geht ?

Verfasst: 30.10.2004 19:31
von MiXa
hab was rumprobiert - so ging es dann

Code: Alles auswählen

ALTER TABLE advent_forum_prune ADD prune_type TINYINT( 2 ) UNSIGNED DEFAULT '0' NOT NULL , ADD move_to SMALLINT( 5 ) UNSIGNED DEFAULT '0' NOT NULL;