Thread CHARSET und NULL (2 answers)
Opened by Froschpopo at 2008-05-23 16:51

moritz
 2008-05-23 17:09
#110184 #110184
User since
2007-05-11
923 Artikel
HausmeisterIn
[Homepage]
user image
Froschpopo+2008-05-23 14:51:04--
Ohne "NOT NULL" funktionierts:
Code: (dl )
ALTER TABLE tbl ADD type VARCHAR(20) CHARSET SET utf8


Bei mir geht nicht mal das:
Code: (dl )
1
2
mysql> ALTER TABLE users ADD type VARCHAR(20) CHARSET SET utf8;
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 'SET utf8' at line 1


Wohingegen beides ohne das zusätzliche "SET" bei mir funktioniert.

View full thread CHARSET und NULL