题目内容

下面选项中,哪个MySql命令可以实现切换到test数据库?()

A. \s test
B. \h test
C. \? Test
D. \u test

查看答案
更多问题

下面选项中,哪个DOS命令可以将客户端字符编码修改为gbk?()

A. alter character_set_client = gbk
B. set character_set_client = gbk
C. set character_set_results = gbk
D. alter character_set_results = gbk

下列选项中,修改my.ini配置文件中的哪个属性可以修改字符编码()

A. character-set
B. character-set- default
C. default-character-set
D. default-character

下面选项中,可以将数据库itcast的编码修改为gbk的是()

ALTER DATABASE itcast DEFAULT CHARACTER SET gbk COLLATE gbk_bin;
B. ALTER DATABASE itcast CHARACTER SET gbk COLLATE gbk_bin;
CREATE DATABASE itcast DEFAULT CHARACTER SET gbk COLLATE gbk_bin;
D. ALTER DATABASE itcast DEFAULT CHARACTER SET=gbk COLLATE gbk_bin;

下面选项中,可以将数据库itcast的编码修改为utf8的SQL语句是()

ALTER DATABASE itcast DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
B. ALTER DATABASE itcast CHARACTER SET utf8 COLLATE utf8_bin;
CREATE DATABASE itcast DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;
D. ALTER DATABASE itcast DEFAULT CHARACTER SET= utf8 COLLATE utf8_bin;

答案查题题库