mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
More different syntaxes for (1) modifying the default charaset/collation
and for (2) converting the columns: 1. ALTER TABLE t1 [DEFAULT] CHARACTER SET xxx [COLLATE yyy] 2. ALTER TABLE t1 CONVERT TO CHARACTER SET xxx [COLLATE yyy]
This commit is contained in:
@ -214,7 +214,7 @@ select a,hex(a) from t1;
|
||||
show create table t1;
|
||||
alter table t1 DEFAULT CHARACTER SET latin1;
|
||||
show create table t1;
|
||||
alter table t1 CHARACTER SET latin1;
|
||||
alter table t1 CONVERT TO CHARACTER SET latin1, DEFAULT CHARACTER SET latin1;
|
||||
show create table t1;
|
||||
alter table t1 DEFAULT CHARACTER SET cp1251;
|
||||
show create table t1;
|
||||
|
Reference in New Issue
Block a user