98 lines
3.7 KiB
Plaintext
98 lines
3.7 KiB
Plaintext
|
|
drop table if exists `<60>s<EFBFBD>P`;
|
|||
|
|
drop table if exists `<60>s<EFBFBD>Q`;
|
|||
|
|
drop table if exists `<60>s<EFBFBD>R`;
|
|||
|
|
drop table if exists `<60>s<EFBFBD>S`;
|
|||
|
|
drop table if exists `<60>s<EFBFBD>T`;
|
|||
|
|
drop table if exists `<60>s<EFBFBD>U`;
|
|||
|
|
drop table if exists `<60>s<EFBFBD>V`;
|
|||
|
|
drop table if exists `<60>s<EFBFBD>W`;
|
|||
|
|
drop table if exists `<60>s<EFBFBD>X`;
|
|||
|
|
SET NAMES sjis;
|
|||
|
|
SET character_set_database = sjis;
|
|||
|
|
Warnings:
|
|||
|
|
Warning 1681 Updating 'character_set_database' is deprecated. It will be made read-only in a future release.
|
|||
|
|
CREATE TABLE `<60>s<EFBFBD>P` (`<60>b<EFBFBD>P` char(20), INDEX(`<60>b<EFBFBD>P`)) DEFAULT CHARSET = sjis engine = innodb;
|
|||
|
|
CREATE TABLE `<60>s<EFBFBD>Q` (`<60>b<EFBFBD>P` char(20), INDEX(`<60>b<EFBFBD>P`)) DEFAULT CHARSET = sjis engine = innodb;
|
|||
|
|
CREATE TABLE `<60>s<EFBFBD>R` (`<60>b<EFBFBD>P` char(20), INDEX(`<60>b<EFBFBD>P`)) DEFAULT CHARSET = sjis engine = innodb;
|
|||
|
|
CREATE TABLE `<60>s<EFBFBD>S` (`<60>b<EFBFBD>P` char(20), INDEX(`<60>b<EFBFBD>P`)) DEFAULT CHARSET = sjis engine = myisam;
|
|||
|
|
CREATE TABLE `<60>s<EFBFBD>T` (`<60>b<EFBFBD>P` char(20), INDEX(`<60>b<EFBFBD>P`)) DEFAULT CHARSET = sjis engine = myisam;
|
|||
|
|
CREATE TABLE `<60>s<EFBFBD>U` (`<60>b<EFBFBD>P` char(20), INDEX(`<60>b<EFBFBD>P`)) DEFAULT CHARSET = sjis engine = myisam;
|
|||
|
|
CREATE TABLE `<60>s<EFBFBD>V` (`<60>b<EFBFBD>P` char(20), INDEX(`<60>b<EFBFBD>P`)) DEFAULT CHARSET = sjis engine = MEMORY;
|
|||
|
|
CREATE TABLE `<60>s<EFBFBD>W` (`<60>b<EFBFBD>P` char(20), INDEX(`<60>b<EFBFBD>P`)) DEFAULT CHARSET = sjis engine = MEMORY;
|
|||
|
|
CREATE TABLE `<60>s<EFBFBD>X` (`<60>b<EFBFBD>P` char(20), INDEX(`<60>b<EFBFBD>P`)) DEFAULT CHARSET = sjis engine = MEMORY;
|
|||
|
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `<60>s<EFBFBD>P`;
|
|||
|
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `<60>s<EFBFBD>Q`;
|
|||
|
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `<60>s<EFBFBD>R`;
|
|||
|
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `<60>s<EFBFBD>S`;
|
|||
|
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `<60>s<EFBFBD>T`;
|
|||
|
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `<60>s<EFBFBD>U`;
|
|||
|
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `<60>s<EFBFBD>V`;
|
|||
|
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `<60>s<EFBFBD>W`;
|
|||
|
|
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `<60>s<EFBFBD>X`;
|
|||
|
|
SELECT * FROM `<60>s<EFBFBD>P` WHERE `<60>b<EFBFBD>P` = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
<EFBFBD>b<EFBFBD>P
|
|||
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
SELECT * FROM `<60>s<EFBFBD>Q` WHERE `<60>b<EFBFBD>P` = '<27>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
<EFBFBD>b<EFBFBD>P
|
|||
|
|
<EFBFBD>E<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
SELECT * FROM `<60>s<EFBFBD>R` WHERE `<60>b<EFBFBD>P` = '<27>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\';
|
|||
|
|
<EFBFBD>b<EFBFBD>P
|
|||
|
|
<EFBFBD>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\
|
|||
|
|
SELECT * FROM `<60>s<EFBFBD>S` WHERE `<60>b<EFBFBD>P` = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
<EFBFBD>b<EFBFBD>P
|
|||
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
SELECT * FROM `<60>s<EFBFBD>T` WHERE `<60>b<EFBFBD>P` = '<27>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
<EFBFBD>b<EFBFBD>P
|
|||
|
|
<EFBFBD>E<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
SELECT * FROM `<60>s<EFBFBD>U` WHERE `<60>b<EFBFBD>P` = '<27>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\';
|
|||
|
|
<EFBFBD>b<EFBFBD>P
|
|||
|
|
<EFBFBD>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\
|
|||
|
|
SELECT * FROM `<60>s<EFBFBD>V` WHERE `<60>b<EFBFBD>P` = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
<EFBFBD>b<EFBFBD>P
|
|||
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
SELECT * FROM `<60>s<EFBFBD>W` WHERE `<60>b<EFBFBD>P` = '<27>E<EFBFBD><45><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
|||
|
|
<EFBFBD>b<EFBFBD>P
|
|||
|
|
<EFBFBD>E<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
SELECT * FROM `<60>s<EFBFBD>X` WHERE `<60>b<EFBFBD>P` = '<27>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\';
|
|||
|
|
<EFBFBD>b<EFBFBD>P
|
|||
|
|
<EFBFBD>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\<5C>\
|
|||
|
|
DROP TABLE IF EXISTS t1;
|
|||
|
|
DROP TABLE IF EXISTS t2;
|
|||
|
|
DROP TABLE IF EXISTS t3;
|
|||
|
|
CREATE TABLE t1(c1 char(1)) default charset = sjis engine=innodb;
|
|||
|
|
CREATE TABLE t2(c1 char(1)) default charset = sjis engine=myisam;
|
|||
|
|
CREATE TABLE t3(c1 char(1)) default charset = sjis engine=MEMORY;
|
|||
|
|
INSERT INTO t1 VALUES('<27>S'),('<27>s');
|
|||
|
|
INSERT INTO t2 VALUES('<27>S'),('<27>s');
|
|||
|
|
INSERT INTO t3 VALUES('<27>S'),('<27>s');
|
|||
|
|
SELECT * FROM t1 WHERE c1 = '<27>S';
|
|||
|
|
c1
|
|||
|
|
<EFBFBD>S
|
|||
|
|
SELECT * FROM t2 WHERE c1 = '<27>S';
|
|||
|
|
c1
|
|||
|
|
<EFBFBD>S
|
|||
|
|
SELECT * FROM t3 WHERE c1 = '<27>S';
|
|||
|
|
c1
|
|||
|
|
<EFBFBD>S
|
|||
|
|
SELECT * FROM t1 WHERE c1 = '<27>s';
|
|||
|
|
c1
|
|||
|
|
<EFBFBD>s
|
|||
|
|
SELECT * FROM t2 WHERE c1 = '<27>s';
|
|||
|
|
c1
|
|||
|
|
<EFBFBD>s
|
|||
|
|
SELECT * FROM t3 WHERE c1 = '<27>s';
|
|||
|
|
c1
|
|||
|
|
<EFBFBD>s
|
|||
|
|
DROP TABLE t1;
|
|||
|
|
DROP TABLE t2;
|
|||
|
|
DROP TABLE t3;
|
|||
|
|
DROP TABLE `<60>s<EFBFBD>P`;
|
|||
|
|
DROP TABLE `<60>s<EFBFBD>Q`;
|
|||
|
|
DROP TABLE `<60>s<EFBFBD>R`;
|
|||
|
|
DROP TABLE `<60>s<EFBFBD>S`;
|
|||
|
|
DROP TABLE `<60>s<EFBFBD>T`;
|
|||
|
|
DROP TABLE `<60>s<EFBFBD>U`;
|
|||
|
|
DROP TABLE `<60>s<EFBFBD>V`;
|
|||
|
|
DROP TABLE `<60>s<EFBFBD>W`;
|
|||
|
|
DROP TABLE `<60>s<EFBFBD>X`;
|