mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
9ad1b390fc
Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_alter_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_alter_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_alter_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_alter_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_charlength_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_charlength_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_charlength_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_charlength_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_charset_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_charset_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_charset_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_charset_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_convert_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_convert_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_convert_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_convert_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_create_db_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_create_db_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_create_db_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_create_db_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_create_tbl_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_create_tbl_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_create_tbl_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_create_tbl_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_enum_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_enum_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_enum_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_enum_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_insert_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_insert_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_insert_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_insert_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_instr_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_instr_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_instr_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_instr_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_join_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_join_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_join_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_join_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_left_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_left_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_left_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_left_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_length_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_length_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_length_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_length_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_like_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_like_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_like_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_like_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_locate_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_locate_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_locate_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_locate_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_lpad_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_lpad_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_lpad_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_lpad_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_ltrim_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_ltrim_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_ltrim_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_ltrim_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_ps_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_ps_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_replace_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_replace_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_replace_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_replace_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_reverse_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_reverse_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_reverse_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_reverse_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_right_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_right_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_right_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_right_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_rpad_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_rpad_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_rpad_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_rpad_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_rtrim_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_rtrim_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_rtrim_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_rtrim_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_select_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_select_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_select_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_select_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_subquery_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_subquery_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_subquery_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_subquery_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_substring_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_substring_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_substring_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_substring_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_trim_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_trim_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_trim_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_trim_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_union_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_update_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_update_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_update_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_update_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_where_sjis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_where_ucs2.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_where_ujis.result: Change mode to -rw-rw---- mysql-test/suite/jp/r/jp_where_utf8.result: Change mode to -rw-rw---- mysql-test/suite/jp/std_data/jisx0201_sjis.dat: Change mode to -rw-rw---- mysql-test/suite/jp/std_data/jisx0201_ucs2.dat: Change mode to -rw-rw---- mysql-test/suite/jp/std_data/jisx0201_ujis.dat: Change mode to -rw-rw---- mysql-test/suite/jp/std_data/jisx0201_utf8.dat: Change mode to -rw-rw---- mysql-test/suite/jp/std_data/jisx0208_sjis.dat: Change mode to -rw-rw---- mysql-test/suite/jp/std_data/jisx0208_sjis2.dat: Change mode to -rw-rw---- mysql-test/suite/jp/std_data/jisx0208_sjis3.dat: Change mode to -rw-rw---- mysql-test/suite/jp/std_data/jisx0208_ucs2.dat: Change mode to -rw-rw---- mysql-test/suite/jp/std_data/jisx0208_ujis.dat: Change mode to -rw-rw---- mysql-test/suite/jp/std_data/jisx0208_utf8.dat: Change mode to -rw-rw---- mysql-test/suite/jp/std_data/jisx0212_ucs2.dat: Change mode to -rw-rw---- mysql-test/suite/jp/std_data/jisx0212_ujis.dat: Change mode to -rw-rw---- mysql-test/suite/jp/std_data/jisx0212_utf8.dat: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_alter_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_alter_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_alter_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_alter_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_charlength_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_charlength_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_charlength_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_charlength_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_charset_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_charset_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_charset_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_charset_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_convert_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_convert_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_convert_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_convert_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_create_db_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_create_db_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_create_db_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_create_db_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_create_tbl_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_create_tbl_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_create_tbl_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_create_tbl_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_enum_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_enum_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_enum_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_enum_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_insert_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_insert_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_insert_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_insert_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_instr_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_instr_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_instr_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_instr_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_join_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_join_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_join_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_join_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_left_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_left_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_left_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_left_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_length_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_length_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_length_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_length_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_like_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_like_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_like_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_like_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_locate_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_locate_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_locate_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_locate_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_lpad_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_lpad_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_lpad_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_lpad_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_ltrim_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_ltrim_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_ltrim_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_ltrim_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_ps_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_ps_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_replace_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_replace_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_replace_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_replace_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_reverse_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_reverse_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_reverse_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_reverse_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_right_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_right_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_right_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_right_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_rpad_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_rpad_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_rpad_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_rpad_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_rtrim_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_rtrim_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_rtrim_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_rtrim_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_select_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_select_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_select_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_select_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_subquery_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_subquery_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_subquery_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_subquery_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_substring_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_substring_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_substring_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_substring_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_trim_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_trim_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_trim_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_trim_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_union_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_update_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_update_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_update_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_update_utf8.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_where_sjis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_where_ucs2.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_where_ujis.test: Change mode to -rw-rw---- mysql-test/suite/jp/t/jp_where_utf8.test: Change mode to -rw-rw----
647 lines
20 KiB
Text
647 lines
20 KiB
Text
SET NAMES sjis;
|
|
SET character_set_database = sjis;
|
|
DROP TABLE IF EXISTS `アアア`;
|
|
DROP TABLE IF EXISTS `イイイ`;
|
|
DROP TABLE IF EXISTS `あああ`;
|
|
DROP TABLE IF EXISTS `いいい`;
|
|
DROP TABLE IF EXISTS `ソソソ`;
|
|
DROP TABLE IF EXISTS `十十十`;
|
|
CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = sjis engine=INNODB;
|
|
CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = sjis engine=INNODB;
|
|
CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = sjis engine=INNODB;
|
|
CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = sjis engine=INNODB;
|
|
CREATE TABLE `ソソソ`(`表表表` char(5)) DEFAULT CHARSET = sjis engine=INNODB;
|
|
CREATE TABLE `十十十`(`予予予` char(5)) DEFAULT CHARSET = sjis engine=INNODB;
|
|
INSERT INTO `アアア` VALUES ('アアアアア'),('イイイイイ'),('ウウウウウ');
|
|
INSERT INTO `あああ` VALUES ('あああああ'),('いいいいい'),('ううううう');
|
|
INSERT INTO `ソソソ` VALUES ('表表表表表'),('構構構構構'),('能能能能能');
|
|
ALTER TABLE `アアア` ADD `カカカ` char(1) FIRST;
|
|
ALTER TABLE `アアア` ADD `ククク` char(1) AFTER `キキキ`;
|
|
ALTER TABLE `アアア` ADD `ケケケ` char(1);
|
|
ALTER TABLE `アアア` ADD INDEX (`カカカ`);
|
|
ALTER TABLE `アアア` ADD PRIMARY KEY (`キキキ`);
|
|
ALTER TABLE `アアア` ADD UNIQUE (`ククク`);
|
|
ALTER TABLE `アアア` CHANGE `カカカ` `カカ` char(1);
|
|
ALTER TABLE `アアア` MODIFY `キキキ` char(6);
|
|
SELECT * FROM `アアア`;
|
|
カカ キキキ ククク ケケケ
|
|
NULL アアアアア NULL NULL
|
|
NULL イイイイイ NULL NULL
|
|
NULL ウウウウウ NULL NULL
|
|
DESC `アアア`;
|
|
Field Type Null Key Default Extra
|
|
カカ char(1) YES MUL NULL
|
|
キキキ char(6) PRI
|
|
ククク char(1) YES MUL NULL
|
|
ケケケ char(1) YES NULL
|
|
SHOW CREATE TABLE `アアア`;
|
|
Table Create Table
|
|
アアア CREATE TABLE `アアア` (
|
|
`カカ` char(1) default NULL,
|
|
`キキキ` char(6) NOT NULL default '',
|
|
`ククク` char(1) default NULL,
|
|
`ケケケ` char(1) default NULL,
|
|
PRIMARY KEY (`キキキ`),
|
|
UNIQUE KEY `ククク` (`ククク`),
|
|
KEY `カカカ` (`カカ`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=sjis
|
|
ALTER TABLE `アアア` DROP INDEX `カカカ`;
|
|
ALTER TABLE `アアア` DROP PRIMARY KEY;
|
|
ALTER TABLE `アアア` DROP INDEX `ククク`;
|
|
ALTER TABLE `アアア` DROP `カカ`;
|
|
ALTER TABLE `アアア` DROP `ククク`;
|
|
ALTER TABLE `アアア` DROP `ケケケ`;
|
|
SELECT * FROM `アアア`;
|
|
キキキ
|
|
アアアアア
|
|
イイイイイ
|
|
ウウウウウ
|
|
DESC `アアア`;
|
|
Field Type Null Key Default Extra
|
|
キキキ char(6)
|
|
SHOW CREATE TABLE `アアア`;
|
|
Table Create Table
|
|
アアア CREATE TABLE `アアア` (
|
|
`キキキ` char(6) NOT NULL default ''
|
|
) ENGINE=InnoDB DEFAULT CHARSET=sjis
|
|
ALTER TABLE `あああ` ADD `かかか` char(1) FIRST;
|
|
ALTER TABLE `あああ` ADD `くくく` char(1) AFTER `ききき`;
|
|
ALTER TABLE `あああ` ADD `けけけ` char(1);
|
|
ALTER TABLE `あああ` ADD INDEX (`かかか`);
|
|
ALTER TABLE `あああ` ADD PRIMARY KEY (`ききき`);
|
|
ALTER TABLE `あああ` ADD UNIQUE (`くくく`);
|
|
ALTER TABLE `あああ` CHANGE `かかか` `かか` char(1);
|
|
ALTER TABLE `あああ` MODIFY `ききき` char(6);
|
|
SELECT * FROM `あああ`;
|
|
かか ききき くくく けけけ
|
|
NULL あああああ NULL NULL
|
|
NULL いいいいい NULL NULL
|
|
NULL ううううう NULL NULL
|
|
DESC `あああ`;
|
|
Field Type Null Key Default Extra
|
|
かか char(1) YES MUL NULL
|
|
ききき char(6) PRI
|
|
くくく char(1) YES MUL NULL
|
|
けけけ char(1) YES NULL
|
|
SHOW CREATE TABLE `あああ`;
|
|
Table Create Table
|
|
あああ CREATE TABLE `あああ` (
|
|
`かか` char(1) default NULL,
|
|
`ききき` char(6) NOT NULL default '',
|
|
`くくく` char(1) default NULL,
|
|
`けけけ` char(1) default NULL,
|
|
PRIMARY KEY (`ききき`),
|
|
UNIQUE KEY `くくく` (`くくく`),
|
|
KEY `かかか` (`かか`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=sjis
|
|
ALTER TABLE `あああ` DROP INDEX `かかか`;
|
|
ALTER TABLE `あああ` DROP PRIMARY KEY;
|
|
ALTER TABLE `あああ` DROP INDEX `くくく`;
|
|
ALTER TABLE `あああ` DROP `かか`;
|
|
ALTER TABLE `あああ` DROP `くくく`;
|
|
ALTER TABLE `あああ` DROP `けけけ`;
|
|
SELECT * FROM `あああ`;
|
|
ききき
|
|
あああああ
|
|
いいいいい
|
|
ううううう
|
|
DESC `あああ`;
|
|
Field Type Null Key Default Extra
|
|
ききき char(6)
|
|
SHOW CREATE TABLE `あああ`;
|
|
Table Create Table
|
|
あああ CREATE TABLE `あああ` (
|
|
`ききき` char(6) NOT NULL default ''
|
|
) ENGINE=InnoDB DEFAULT CHARSET=sjis
|
|
ALTER TABLE `ソソソ` ADD `構構構` char(1) FIRST;
|
|
ALTER TABLE `ソソソ` ADD `能能能` char(1) AFTER `表表表`;
|
|
ALTER TABLE `ソソソ` ADD `予予予` char(1);
|
|
ALTER TABLE `ソソソ` ADD INDEX (`構構構`);
|
|
ALTER TABLE `ソソソ` ADD PRIMARY KEY (`表表表`);
|
|
ALTER TABLE `ソソソ` ADD UNIQUE (`能能能`);
|
|
ALTER TABLE `ソソソ` CHANGE `構構構` `構構` char(1);
|
|
ALTER TABLE `ソソソ` MODIFY `表表表` char(6);
|
|
SELECT * FROM `ソソソ`;
|
|
構構 表表表 能能能 予予予
|
|
NULL 構構構構構 NULL NULL
|
|
NULL 能能能能能 NULL NULL
|
|
NULL 表表表表表 NULL NULL
|
|
DESC `ソソソ`;
|
|
Field Type Null Key Default Extra
|
|
構構 char(1) YES MUL NULL
|
|
表表表 char(6) PRI
|
|
能能能 char(1) YES MUL NULL
|
|
予予予 char(1) YES NULL
|
|
SHOW CREATE TABLE `ソソソ`;
|
|
Table Create Table
|
|
ソソソ CREATE TABLE `ソソソ` (
|
|
`構構` char(1) default NULL,
|
|
`表表表` char(6) NOT NULL default '',
|
|
`能能能` char(1) default NULL,
|
|
`予予予` char(1) default NULL,
|
|
PRIMARY KEY (`表表表`),
|
|
UNIQUE KEY `能能能` (`能能能`),
|
|
KEY `構構構` (`構構`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=sjis
|
|
ALTER TABLE `ソソソ` DROP INDEX `構構構`;
|
|
ALTER TABLE `ソソソ` DROP PRIMARY KEY;
|
|
ALTER TABLE `ソソソ` DROP INDEX `能能能`;
|
|
ALTER TABLE `ソソソ` DROP `構構`;
|
|
ALTER TABLE `ソソソ` DROP `能能能`;
|
|
ALTER TABLE `ソソソ` DROP `予予予`;
|
|
SELECT * FROM `ソソソ`;
|
|
表表表
|
|
構構構構構
|
|
能能能能能
|
|
表表表表表
|
|
DESC `ソソソ`;
|
|
Field Type Null Key Default Extra
|
|
表表表 char(6)
|
|
SHOW CREATE TABLE `ソソソ`;
|
|
Table Create Table
|
|
ソソソ CREATE TABLE `ソソソ` (
|
|
`表表表` char(6) NOT NULL default ''
|
|
) ENGINE=InnoDB DEFAULT CHARSET=sjis
|
|
DROP TABLE `アアア`;
|
|
DROP TABLE `イイイ`;
|
|
DROP TABLE `あああ`;
|
|
DROP TABLE `いいい`;
|
|
DROP TABLE `ソソソ`;
|
|
DROP TABLE `十十十`;
|
|
CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = sjis engine=MYISAM;
|
|
CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = sjis engine=MYISAM;
|
|
CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = sjis engine=MYISAM;
|
|
CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = sjis engine=MYISAM;
|
|
CREATE TABLE `ソソソ`(`表表表` char(5)) DEFAULT CHARSET = sjis engine=MYISAM;
|
|
CREATE TABLE `十十十`(`予予予` char(5)) DEFAULT CHARSET = sjis engine=MYISAM;
|
|
INSERT INTO `アアア` VALUES ('アアアアア'),('イイイイイ'),('ウウウウウ');
|
|
INSERT INTO `あああ` VALUES ('あああああ'),('いいいいい'),('ううううう');
|
|
INSERT INTO `ソソソ` VALUES ('表表表表表'),('構構構構構'),('能能能能能');
|
|
ALTER TABLE `アアア` ADD `カカカ` char(1) FIRST;
|
|
ALTER TABLE `アアア` ADD `ククク` char(1) AFTER `キキキ`;
|
|
ALTER TABLE `アアア` ADD `ケケケ` char(1);
|
|
ALTER TABLE `アアア` ADD INDEX (`カカカ`);
|
|
ALTER TABLE `アアア` ADD PRIMARY KEY (`キキキ`);
|
|
ALTER TABLE `アアア` ADD UNIQUE (`ククク`);
|
|
ALTER TABLE `アアア` CHANGE `カカカ` `カカ` char(1);
|
|
ALTER TABLE `アアア` MODIFY `キキキ` char(6);
|
|
SELECT * FROM `アアア`;
|
|
カカ キキキ ククク ケケケ
|
|
NULL アアアアア NULL NULL
|
|
NULL イイイイイ NULL NULL
|
|
NULL ウウウウウ NULL NULL
|
|
DESC `アアア`;
|
|
Field Type Null Key Default Extra
|
|
カカ char(1) YES MUL NULL
|
|
キキキ char(6) PRI
|
|
ククク char(1) YES MUL NULL
|
|
ケケケ char(1) YES NULL
|
|
SHOW CREATE TABLE `アアア`;
|
|
Table Create Table
|
|
アアア CREATE TABLE `アアア` (
|
|
`カカ` char(1) default NULL,
|
|
`キキキ` char(6) NOT NULL default '',
|
|
`ククク` char(1) default NULL,
|
|
`ケケケ` char(1) default NULL,
|
|
PRIMARY KEY (`キキキ`),
|
|
UNIQUE KEY `ククク` (`ククク`),
|
|
KEY `カカカ` (`カカ`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=sjis
|
|
ALTER TABLE `アアア` DROP INDEX `カカカ`;
|
|
ALTER TABLE `アアア` DROP PRIMARY KEY;
|
|
ALTER TABLE `アアア` DROP INDEX `ククク`;
|
|
ALTER TABLE `アアア` DROP `カカ`;
|
|
ALTER TABLE `アアア` DROP `ククク`;
|
|
ALTER TABLE `アアア` DROP `ケケケ`;
|
|
SELECT * FROM `アアア`;
|
|
キキキ
|
|
アアアアア
|
|
イイイイイ
|
|
ウウウウウ
|
|
DESC `アアア`;
|
|
Field Type Null Key Default Extra
|
|
キキキ char(6)
|
|
SHOW CREATE TABLE `アアア`;
|
|
Table Create Table
|
|
アアア CREATE TABLE `アアア` (
|
|
`キキキ` char(6) NOT NULL default ''
|
|
) ENGINE=MyISAM DEFAULT CHARSET=sjis
|
|
ALTER TABLE `あああ` ADD `かかか` char(1) FIRST;
|
|
ALTER TABLE `あああ` ADD `くくく` char(1) AFTER `ききき`;
|
|
ALTER TABLE `あああ` ADD `けけけ` char(1);
|
|
ALTER TABLE `あああ` ADD INDEX (`かかか`);
|
|
ALTER TABLE `あああ` ADD PRIMARY KEY (`ききき`);
|
|
ALTER TABLE `あああ` ADD UNIQUE (`くくく`);
|
|
ALTER TABLE `あああ` CHANGE `かかか` `かか` char(1);
|
|
ALTER TABLE `あああ` MODIFY `ききき` char(6);
|
|
SELECT * FROM `あああ`;
|
|
かか ききき くくく けけけ
|
|
NULL あああああ NULL NULL
|
|
NULL いいいいい NULL NULL
|
|
NULL ううううう NULL NULL
|
|
DESC `あああ`;
|
|
Field Type Null Key Default Extra
|
|
かか char(1) YES MUL NULL
|
|
ききき char(6) PRI
|
|
くくく char(1) YES MUL NULL
|
|
けけけ char(1) YES NULL
|
|
SHOW CREATE TABLE `あああ`;
|
|
Table Create Table
|
|
あああ CREATE TABLE `あああ` (
|
|
`かか` char(1) default NULL,
|
|
`ききき` char(6) NOT NULL default '',
|
|
`くくく` char(1) default NULL,
|
|
`けけけ` char(1) default NULL,
|
|
PRIMARY KEY (`ききき`),
|
|
UNIQUE KEY `くくく` (`くくく`),
|
|
KEY `かかか` (`かか`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=sjis
|
|
ALTER TABLE `あああ` DROP INDEX `かかか`;
|
|
ALTER TABLE `あああ` DROP PRIMARY KEY;
|
|
ALTER TABLE `あああ` DROP INDEX `くくく`;
|
|
ALTER TABLE `あああ` DROP `かか`;
|
|
ALTER TABLE `あああ` DROP `くくく`;
|
|
ALTER TABLE `あああ` DROP `けけけ`;
|
|
SELECT * FROM `あああ`;
|
|
ききき
|
|
あああああ
|
|
いいいいい
|
|
ううううう
|
|
DESC `あああ`;
|
|
Field Type Null Key Default Extra
|
|
ききき char(6)
|
|
SHOW CREATE TABLE `あああ`;
|
|
Table Create Table
|
|
あああ CREATE TABLE `あああ` (
|
|
`ききき` char(6) NOT NULL default ''
|
|
) ENGINE=MyISAM DEFAULT CHARSET=sjis
|
|
ALTER TABLE `ソソソ` ADD `構構構` char(1) FIRST;
|
|
ALTER TABLE `ソソソ` ADD `能能能` char(1) AFTER `表表表`;
|
|
ALTER TABLE `ソソソ` ADD `予予予` char(1);
|
|
ALTER TABLE `ソソソ` ADD INDEX (`構構構`);
|
|
ALTER TABLE `ソソソ` ADD PRIMARY KEY (`表表表`);
|
|
ALTER TABLE `ソソソ` ADD UNIQUE (`能能能`);
|
|
ALTER TABLE `ソソソ` CHANGE `構構構` `構構` char(1);
|
|
ALTER TABLE `ソソソ` MODIFY `表表表` char(6);
|
|
SELECT * FROM `ソソソ`;
|
|
構構 表表表 能能能 予予予
|
|
NULL 表表表表表 NULL NULL
|
|
NULL 構構構構構 NULL NULL
|
|
NULL 能能能能能 NULL NULL
|
|
DESC `ソソソ`;
|
|
Field Type Null Key Default Extra
|
|
構構 char(1) YES MUL NULL
|
|
表表表 char(6) PRI
|
|
能能能 char(1) YES MUL NULL
|
|
予予予 char(1) YES NULL
|
|
SHOW CREATE TABLE `ソソソ`;
|
|
Table Create Table
|
|
ソソソ CREATE TABLE `ソソソ` (
|
|
`構構` char(1) default NULL,
|
|
`表表表` char(6) NOT NULL default '',
|
|
`能能能` char(1) default NULL,
|
|
`予予予` char(1) default NULL,
|
|
PRIMARY KEY (`表表表`),
|
|
UNIQUE KEY `能能能` (`能能能`),
|
|
KEY `構構構` (`構構`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=sjis
|
|
ALTER TABLE `ソソソ` DROP INDEX `構構構`;
|
|
ALTER TABLE `ソソソ` DROP PRIMARY KEY;
|
|
ALTER TABLE `ソソソ` DROP INDEX `能能能`;
|
|
ALTER TABLE `ソソソ` DROP `構構`;
|
|
ALTER TABLE `ソソソ` DROP `能能能`;
|
|
ALTER TABLE `ソソソ` DROP `予予予`;
|
|
SELECT * FROM `ソソソ`;
|
|
表表表
|
|
表表表表表
|
|
構構構構構
|
|
能能能能能
|
|
DESC `ソソソ`;
|
|
Field Type Null Key Default Extra
|
|
表表表 char(6)
|
|
SHOW CREATE TABLE `ソソソ`;
|
|
Table Create Table
|
|
ソソソ CREATE TABLE `ソソソ` (
|
|
`表表表` char(6) NOT NULL default ''
|
|
) ENGINE=MyISAM DEFAULT CHARSET=sjis
|
|
DROP TABLE `アアア`;
|
|
DROP TABLE `イイイ`;
|
|
DROP TABLE `あああ`;
|
|
DROP TABLE `いいい`;
|
|
DROP TABLE `ソソソ`;
|
|
DROP TABLE `十十十`;
|
|
CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
|
|
CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
|
|
CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
|
|
CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
|
|
CREATE TABLE `ソソソ`(`表表表` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
|
|
CREATE TABLE `十十十`(`予予予` char(5)) DEFAULT CHARSET = sjis engine=HEAP;
|
|
INSERT INTO `アアア` VALUES ('アアアアア'),('イイイイイ'),('ウウウウウ');
|
|
INSERT INTO `あああ` VALUES ('あああああ'),('いいいいい'),('ううううう');
|
|
INSERT INTO `ソソソ` VALUES ('表表表表表'),('構構構構構'),('能能能能能');
|
|
ALTER TABLE `アアア` ADD `カカカ` char(1) FIRST;
|
|
ALTER TABLE `アアア` ADD `ククク` char(1) AFTER `キキキ`;
|
|
ALTER TABLE `アアア` ADD `ケケケ` char(1);
|
|
ALTER TABLE `アアア` ADD INDEX (`カカカ`);
|
|
ALTER TABLE `アアア` ADD PRIMARY KEY (`キキキ`);
|
|
ALTER TABLE `アアア` ADD UNIQUE (`ククク`);
|
|
ALTER TABLE `アアア` CHANGE `カカカ` `カカ` char(1);
|
|
ALTER TABLE `アアア` MODIFY `キキキ` char(6);
|
|
SELECT * FROM `アアア`;
|
|
カカ キキキ ククク ケケケ
|
|
NULL アアアアア NULL NULL
|
|
NULL イイイイイ NULL NULL
|
|
NULL ウウウウウ NULL NULL
|
|
DESC `アアア`;
|
|
Field Type Null Key Default Extra
|
|
カカ char(1) YES MUL NULL
|
|
キキキ char(6) PRI
|
|
ククク char(1) YES MUL NULL
|
|
ケケケ char(1) YES NULL
|
|
SHOW CREATE TABLE `アアア`;
|
|
Table Create Table
|
|
アアア CREATE TABLE `アアア` (
|
|
`カカ` char(1) default NULL,
|
|
`キキキ` char(6) NOT NULL default '',
|
|
`ククク` char(1) default NULL,
|
|
`ケケケ` char(1) default NULL,
|
|
PRIMARY KEY (`キキキ`),
|
|
UNIQUE KEY `ククク` (`ククク`),
|
|
KEY `カカカ` (`カカ`)
|
|
) ENGINE=HEAP DEFAULT CHARSET=sjis
|
|
ALTER TABLE `アアア` DROP INDEX `カカカ`;
|
|
ALTER TABLE `アアア` DROP PRIMARY KEY;
|
|
ALTER TABLE `アアア` DROP INDEX `ククク`;
|
|
ALTER TABLE `アアア` DROP `カカ`;
|
|
ALTER TABLE `アアア` DROP `ククク`;
|
|
ALTER TABLE `アアア` DROP `ケケケ`;
|
|
SELECT * FROM `アアア`;
|
|
キキキ
|
|
アアアアア
|
|
イイイイイ
|
|
ウウウウウ
|
|
DESC `アアア`;
|
|
Field Type Null Key Default Extra
|
|
キキキ char(6)
|
|
SHOW CREATE TABLE `アアア`;
|
|
Table Create Table
|
|
アアア CREATE TABLE `アアア` (
|
|
`キキキ` char(6) NOT NULL default ''
|
|
) ENGINE=HEAP DEFAULT CHARSET=sjis
|
|
ALTER TABLE `あああ` ADD `かかか` char(1) FIRST;
|
|
ALTER TABLE `あああ` ADD `くくく` char(1) AFTER `ききき`;
|
|
ALTER TABLE `あああ` ADD `けけけ` char(1);
|
|
ALTER TABLE `あああ` ADD INDEX (`かかか`);
|
|
ALTER TABLE `あああ` ADD PRIMARY KEY (`ききき`);
|
|
ALTER TABLE `あああ` ADD UNIQUE (`くくく`);
|
|
ALTER TABLE `あああ` CHANGE `かかか` `かか` char(1);
|
|
ALTER TABLE `あああ` MODIFY `ききき` char(6);
|
|
SELECT * FROM `あああ`;
|
|
かか ききき くくく けけけ
|
|
NULL あああああ NULL NULL
|
|
NULL いいいいい NULL NULL
|
|
NULL ううううう NULL NULL
|
|
DESC `あああ`;
|
|
Field Type Null Key Default Extra
|
|
かか char(1) YES MUL NULL
|
|
ききき char(6) PRI
|
|
くくく char(1) YES MUL NULL
|
|
けけけ char(1) YES NULL
|
|
SHOW CREATE TABLE `あああ`;
|
|
Table Create Table
|
|
あああ CREATE TABLE `あああ` (
|
|
`かか` char(1) default NULL,
|
|
`ききき` char(6) NOT NULL default '',
|
|
`くくく` char(1) default NULL,
|
|
`けけけ` char(1) default NULL,
|
|
PRIMARY KEY (`ききき`),
|
|
UNIQUE KEY `くくく` (`くくく`),
|
|
KEY `かかか` (`かか`)
|
|
) ENGINE=HEAP DEFAULT CHARSET=sjis
|
|
ALTER TABLE `あああ` DROP INDEX `かかか`;
|
|
ALTER TABLE `あああ` DROP PRIMARY KEY;
|
|
ALTER TABLE `あああ` DROP INDEX `くくく`;
|
|
ALTER TABLE `あああ` DROP `かか`;
|
|
ALTER TABLE `あああ` DROP `くくく`;
|
|
ALTER TABLE `あああ` DROP `けけけ`;
|
|
SELECT * FROM `あああ`;
|
|
ききき
|
|
あああああ
|
|
いいいいい
|
|
ううううう
|
|
DESC `あああ`;
|
|
Field Type Null Key Default Extra
|
|
ききき char(6)
|
|
SHOW CREATE TABLE `あああ`;
|
|
Table Create Table
|
|
あああ CREATE TABLE `あああ` (
|
|
`ききき` char(6) NOT NULL default ''
|
|
) ENGINE=HEAP DEFAULT CHARSET=sjis
|
|
ALTER TABLE `ソソソ` ADD `構構構` char(1) FIRST;
|
|
ALTER TABLE `ソソソ` ADD `能能能` char(1) AFTER `表表表`;
|
|
ALTER TABLE `ソソソ` ADD `予予予` char(1);
|
|
ALTER TABLE `ソソソ` ADD INDEX (`構構構`);
|
|
ALTER TABLE `ソソソ` ADD PRIMARY KEY (`表表表`);
|
|
ALTER TABLE `ソソソ` ADD UNIQUE (`能能能`);
|
|
ALTER TABLE `ソソソ` CHANGE `構構構` `構構` char(1);
|
|
ALTER TABLE `ソソソ` MODIFY `表表表` char(6);
|
|
SELECT * FROM `ソソソ`;
|
|
構構 表表表 能能能 予予予
|
|
NULL 表表表表表 NULL NULL
|
|
NULL 構構構構構 NULL NULL
|
|
NULL 能能能能能 NULL NULL
|
|
DESC `ソソソ`;
|
|
Field Type Null Key Default Extra
|
|
構構 char(1) YES MUL NULL
|
|
表表表 char(6) PRI
|
|
能能能 char(1) YES MUL NULL
|
|
予予予 char(1) YES NULL
|
|
SHOW CREATE TABLE `ソソソ`;
|
|
Table Create Table
|
|
ソソソ CREATE TABLE `ソソソ` (
|
|
`構構` char(1) default NULL,
|
|
`表表表` char(6) NOT NULL default '',
|
|
`能能能` char(1) default NULL,
|
|
`予予予` char(1) default NULL,
|
|
PRIMARY KEY (`表表表`),
|
|
UNIQUE KEY `能能能` (`能能能`),
|
|
KEY `構構構` (`構構`)
|
|
) ENGINE=HEAP DEFAULT CHARSET=sjis
|
|
ALTER TABLE `ソソソ` DROP INDEX `構構構`;
|
|
ALTER TABLE `ソソソ` DROP PRIMARY KEY;
|
|
ALTER TABLE `ソソソ` DROP INDEX `能能能`;
|
|
ALTER TABLE `ソソソ` DROP `構構`;
|
|
ALTER TABLE `ソソソ` DROP `能能能`;
|
|
ALTER TABLE `ソソソ` DROP `予予予`;
|
|
SELECT * FROM `ソソソ`;
|
|
表表表
|
|
表表表表表
|
|
構構構構構
|
|
能能能能能
|
|
DESC `ソソソ`;
|
|
Field Type Null Key Default Extra
|
|
表表表 char(6)
|
|
SHOW CREATE TABLE `ソソソ`;
|
|
Table Create Table
|
|
ソソソ CREATE TABLE `ソソソ` (
|
|
`表表表` char(6) NOT NULL default ''
|
|
) ENGINE=HEAP DEFAULT CHARSET=sjis
|
|
DROP TABLE `アアア`;
|
|
DROP TABLE `イイイ`;
|
|
DROP TABLE `あああ`;
|
|
DROP TABLE `いいい`;
|
|
DROP TABLE `ソソソ`;
|
|
DROP TABLE `十十十`;
|
|
CREATE TABLE `アアア`(`キキキ` char(5)) DEFAULT CHARSET = sjis engine=BDB;
|
|
CREATE TABLE `イイイ`(`ケケケ` char(5)) DEFAULT CHARSET = sjis engine=BDB;
|
|
CREATE TABLE `あああ`(`ききき` char(5)) DEFAULT CHARSET = sjis engine=BDB;
|
|
CREATE TABLE `いいい`(`けけけ` char(5)) DEFAULT CHARSET = sjis engine=BDB;
|
|
CREATE TABLE `ソソソ`(`表表表` char(5)) DEFAULT CHARSET = sjis engine=BDB;
|
|
CREATE TABLE `十十十`(`予予予` char(5)) DEFAULT CHARSET = sjis engine=BDB;
|
|
INSERT INTO `アアア` VALUES ('アアアアア'),('イイイイイ'),('ウウウウウ');
|
|
INSERT INTO `あああ` VALUES ('あああああ'),('いいいいい'),('ううううう');
|
|
INSERT INTO `ソソソ` VALUES ('表表表表表'),('構構構構構'),('能能能能能');
|
|
ALTER TABLE `アアア` ADD `カカカ` char(1) FIRST;
|
|
ALTER TABLE `アアア` ADD `ククク` char(1) AFTER `キキキ`;
|
|
ALTER TABLE `アアア` ADD `ケケケ` char(1);
|
|
ALTER TABLE `アアア` ADD INDEX (`カカカ`);
|
|
ALTER TABLE `アアア` ADD PRIMARY KEY (`キキキ`);
|
|
ALTER TABLE `アアア` CHANGE `カカカ` `カカ` char(1);
|
|
ALTER TABLE `アアア` MODIFY `キキキ` char(6);
|
|
SELECT * FROM `アアア`;
|
|
カカ キキキ ククク ケケケ
|
|
NULL アアアアア NULL NULL
|
|
NULL イイイイイ NULL NULL
|
|
NULL ウウウウウ NULL NULL
|
|
DESC `アアア`;
|
|
Field Type Null Key Default Extra
|
|
カカ char(1) YES MUL NULL
|
|
キキキ char(6) PRI
|
|
ククク char(1) YES NULL
|
|
ケケケ char(1) YES NULL
|
|
SHOW CREATE TABLE `アアア`;
|
|
Table Create Table
|
|
アアア CREATE TABLE `アアア` (
|
|
`カカ` char(1) default NULL,
|
|
`キキキ` char(6) NOT NULL default '',
|
|
`ククク` char(1) default NULL,
|
|
`ケケケ` char(1) default NULL,
|
|
PRIMARY KEY (`キキキ`),
|
|
KEY `カカカ` (`カカ`)
|
|
) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
|
|
ALTER TABLE `アアア` DROP INDEX `カカカ`;
|
|
ALTER TABLE `アアア` DROP PRIMARY KEY;
|
|
ALTER TABLE `アアア` DROP `カカ`;
|
|
ALTER TABLE `アアア` DROP `ククク`;
|
|
ALTER TABLE `アアア` DROP `ケケケ`;
|
|
SELECT * FROM `アアア`;
|
|
キキキ
|
|
アアアアア
|
|
イイイイイ
|
|
ウウウウウ
|
|
DESC `アアア`;
|
|
Field Type Null Key Default Extra
|
|
キキキ char(6)
|
|
SHOW CREATE TABLE `アアア`;
|
|
Table Create Table
|
|
アアア CREATE TABLE `アアア` (
|
|
`キキキ` char(6) NOT NULL default ''
|
|
) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
|
|
ALTER TABLE `あああ` ADD `かかか` char(1) FIRST;
|
|
ALTER TABLE `あああ` ADD `くくく` char(1) AFTER `ききき`;
|
|
ALTER TABLE `あああ` ADD `けけけ` char(1);
|
|
ALTER TABLE `あああ` ADD INDEX (`かかか`);
|
|
ALTER TABLE `あああ` ADD PRIMARY KEY (`ききき`);
|
|
ALTER TABLE `あああ` CHANGE `かかか` `かか` char(1);
|
|
ALTER TABLE `あああ` MODIFY `ききき` char(6);
|
|
SELECT * FROM `あああ`;
|
|
かか ききき くくく けけけ
|
|
NULL あああああ NULL NULL
|
|
NULL いいいいい NULL NULL
|
|
NULL ううううう NULL NULL
|
|
DESC `あああ`;
|
|
Field Type Null Key Default Extra
|
|
かか char(1) YES MUL NULL
|
|
ききき char(6) PRI
|
|
くくく char(1) YES NULL
|
|
けけけ char(1) YES NULL
|
|
SHOW CREATE TABLE `あああ`;
|
|
Table Create Table
|
|
あああ CREATE TABLE `あああ` (
|
|
`かか` char(1) default NULL,
|
|
`ききき` char(6) NOT NULL default '',
|
|
`くくく` char(1) default NULL,
|
|
`けけけ` char(1) default NULL,
|
|
PRIMARY KEY (`ききき`),
|
|
KEY `かかか` (`かか`)
|
|
) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
|
|
ALTER TABLE `あああ` DROP INDEX `かかか`;
|
|
ALTER TABLE `あああ` DROP PRIMARY KEY;
|
|
ALTER TABLE `あああ` DROP `かか`;
|
|
ALTER TABLE `あああ` DROP `くくく`;
|
|
ALTER TABLE `あああ` DROP `けけけ`;
|
|
SELECT * FROM `あああ`;
|
|
ききき
|
|
あああああ
|
|
いいいいい
|
|
ううううう
|
|
DESC `あああ`;
|
|
Field Type Null Key Default Extra
|
|
ききき char(6)
|
|
SHOW CREATE TABLE `あああ`;
|
|
Table Create Table
|
|
あああ CREATE TABLE `あああ` (
|
|
`ききき` char(6) NOT NULL default ''
|
|
) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
|
|
ALTER TABLE `ソソソ` ADD `構構構` char(1) FIRST;
|
|
ALTER TABLE `ソソソ` ADD `能能能` char(1) AFTER `表表表`;
|
|
ALTER TABLE `ソソソ` ADD `予予予` char(1);
|
|
ALTER TABLE `ソソソ` ADD INDEX (`構構構`);
|
|
ALTER TABLE `ソソソ` ADD PRIMARY KEY (`表表表`);
|
|
ALTER TABLE `ソソソ` CHANGE `構構構` `構構` char(1);
|
|
ALTER TABLE `ソソソ` MODIFY `表表表` char(6);
|
|
SELECT * FROM `ソソソ`;
|
|
構構 表表表 能能能 予予予
|
|
NULL 構構構構構 NULL NULL
|
|
NULL 能能能能能 NULL NULL
|
|
NULL 表表表表表 NULL NULL
|
|
DESC `ソソソ`;
|
|
Field Type Null Key Default Extra
|
|
構構 char(1) YES MUL NULL
|
|
表表表 char(6) PRI
|
|
能能能 char(1) YES NULL
|
|
予予予 char(1) YES NULL
|
|
SHOW CREATE TABLE `ソソソ`;
|
|
Table Create Table
|
|
ソソソ CREATE TABLE `ソソソ` (
|
|
`構構` char(1) default NULL,
|
|
`表表表` char(6) NOT NULL default '',
|
|
`能能能` char(1) default NULL,
|
|
`予予予` char(1) default NULL,
|
|
PRIMARY KEY (`表表表`),
|
|
KEY `構構構` (`構構`)
|
|
) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
|
|
ALTER TABLE `ソソソ` DROP INDEX `構構構`;
|
|
ALTER TABLE `ソソソ` DROP PRIMARY KEY;
|
|
ALTER TABLE `ソソソ` DROP `構構`;
|
|
ALTER TABLE `ソソソ` DROP `能能能`;
|
|
ALTER TABLE `ソソソ` DROP `予予予`;
|
|
SELECT * FROM `ソソソ`;
|
|
表表表
|
|
構構構構構
|
|
能能能能能
|
|
表表表表表
|
|
DESC `ソソソ`;
|
|
Field Type Null Key Default Extra
|
|
表表表 char(6)
|
|
SHOW CREATE TABLE `ソソソ`;
|
|
Table Create Table
|
|
ソソソ CREATE TABLE `ソソソ` (
|
|
`表表表` char(6) NOT NULL default ''
|
|
) ENGINE=BerkeleyDB DEFAULT CHARSET=sjis
|
|
DROP TABLE `アアア`;
|
|
DROP TABLE `イイイ`;
|
|
DROP TABLE `あああ`;
|
|
DROP TABLE `いいい`;
|
|
DROP TABLE `ソソソ`;
|
|
DROP TABLE `十十十`;
|