php - mysql create a table character sets -


in phpmyadmin, entered:

create table ch  ucs2 char(3) character set ucs2,  gb2312 char(3) character set gb2312  test3 char(4) character set utf8; 

and gives me syntax error. doing wrong here?

you forgotten parentheses:

create table ch(  ucs2 char(3) character set ucs2,  gb2312 char(3) character set gb2312,  test3 char(4) character set utf8 ); 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -