Seite 2 von 2

Verfasst: 06.01.2006 11:59
von Fennias Maxim
Probiers mal mit

Code: Alles auswählen

ALTER TABLE [...] DROP COLUMN [...]
Und sag gefälligst was für eine fehlermeldung kommt.

Verfasst: 09.01.2006 01:23
von Paninaro
Also ich hab es so eingegeben..

Code: Alles auswählen

ALTER TABLE `phpbb_themes` DROP COLUMN `highlight_topic_color` VARCHAR( 6 ) ;
ALTER TABLE `phpbb_themes_name` DROP COLUMN `highlight_topic_color_name` CHAR( 50 )
Dann kommt
SQL-Befehl:

ALTER TABLE `phpbb_themes` DROP COLUMN `highlight_topic_color` VARCHAR( 6 )

MySQL meldet: Dokumentation
#1064 - 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 'VARCHAR( 6 )' at line 1

Verfasst: 09.01.2006 03:10
von fanrpg

Code: Alles auswählen

ALTER TABLE `phpbb_themes`
  DROP `highlight_topic_color` ;
ALTER TABLE `phpbb_themes_name`
  DROP `highlight_topic_color_name` ;