• bar@bar.mysql.r18.ru's avatar
    In database/table charset the keyword DEFAULT is now optional, · 0ca3212a
    bar@bar.mysql.r18.ru authored
    and CHARSET is now the same with CHARACTER SET:
    
    CREATE DATABASE name 
      [DEFAULT] {CHAR SET | CHARACTER SET | CHARSET} csname
    
    
    CREATE TABLE (...)  [DEFAULT] {CHARSET | CHARACTER SET | CHAR SET} [=] csname
    
    To Paul and Arjen:
    However this should be recommended in db option to conform SQL99:
    CREATE DATABASE dbname DEFAULT CHARACTER SET csname
    In table option there is no SQL99 recommended syntax as far as
    table charset is MySQL extension.
    0ca3212a
sql_yacc.yy 105 KB