Ich frage mich, wie ich eine Spalte mit Leerzeichen in mysql fallen lassen. die folgende Versuchte, und bekam folgende Ausnahmen:löschen Spalte mit Leerzeichen in Mysql
alter table test17 drop column [added column2];
ERROR 1064 (42000): 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 '[added column2]' at line 1
alter table test17 drop column 'added column2';
ERROR 1064 (42000): 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 ''added column2'' at line 1
alter table test17 drop column (added column2);
ERROR 1064 (42000): 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 '(added column2)' at line 1
Thanks :)
Does Spaltenname enthält Raum? – Viki888