jp_like_sjis.test
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:8k
- --character_set sjis
- --disable_warnings
- drop table if exists `俿侾`;
- drop table if exists `俿俀`;
- drop table if exists `俿俁`;
- drop table if exists `俿係`;
- drop table if exists `俿俆`;
- drop table if exists `俿俇`;
- drop table if exists `俿俈`;
- drop table if exists `俿俉`;
- drop table if exists `俿俋`;
- drop table if exists `俿侾侽`;
- drop table if exists `俿侾侾`;
- drop table if exists `俿侾俀`;
- --enable_warnings
- #
- # Test LIKE pattern matching using Japanese characters in sjis encoding
- #
- SET NAMES sjis;
- SET character_set_database = sjis;
- CREATE TABLE `俿侾` (`俠侾` char(20), INDEX(`俠侾`)) DEFAULT CHARSET = sjis engine = innodb;
- CREATE TABLE `俿俀` (`俠侾` char(20), INDEX(`俠侾`)) DEFAULT CHARSET = sjis engine = innodb;
- CREATE TABLE `俿俁` (`俠侾` char(20), INDEX(`俠侾`)) DEFAULT CHARSET = sjis engine = innodb;
- CREATE TABLE `俿係` (`俠侾` char(20), INDEX(`俠侾`)) DEFAULT CHARSET = sjis engine = myisam;
- CREATE TABLE `俿俆` (`俠侾` char(20), INDEX(`俠侾`)) DEFAULT CHARSET = sjis engine = myisam;
- CREATE TABLE `俿俇` (`俠侾` char(20), INDEX(`俠侾`)) DEFAULT CHARSET = sjis engine = myisam;
- CREATE TABLE `俿俈` (`俠侾` char(20), INDEX(`俠侾`)) DEFAULT CHARSET = sjis engine = heap;
- CREATE TABLE `俿俉` (`俠侾` char(20), INDEX(`俠侾`)) DEFAULT CHARSET = sjis engine = heap;
- CREATE TABLE `俿俋` (`俠侾` char(20), INDEX(`俠侾`)) DEFAULT CHARSET = sjis engine = heap;
- CREATE TABLE `俿侾侽` (`俠侾` char(20), INDEX(`俠侾`)) DEFAULT CHARSET = sjis engine = bdb;
- CREATE TABLE `俿侾侾` (`俠侾` char(20), INDEX(`俠侾`)) DEFAULT CHARSET = sjis engine = bdb;
- CREATE TABLE `俿侾俀` (`俠侾` char(20), INDEX(`俠侾`)) DEFAULT CHARSET = sjis engine = bdb;
- #Load the following data in each table
- # jisx0201 hankaku-katakana data
- # jisx0208 data
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `俿侾`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `俿俀`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `俿俁`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `俿係`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `俿俆`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `俿俇`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `俿俈`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `俿俉`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `俿俋`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `俿侾侽`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `俿侾侾`;
- LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `俿侾俀`;
- #InnoDB
- SELECT * FROM `俿侾` WHERE `俠侾` LIKE ' %';
- SELECT * FROM `俿侾` WHERE `俠侾` LIKE '% %';
- SELECT * FROM `俿侾` WHERE `俠侾` LIKE '% ';
- SELECT * FROM `俿侾` WHERE `俠侾` LIKE '