Current Path : /home/usr.opt/mysql57/mysql-test/suite/engines/funcs/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/engines/funcs/r/ta_column_from_zerofill.result |
DROP TABLE IF EXISTS t4; CREATE TABLE t4(c1 TINYINT ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(3) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 TINYINT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(4) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 SMALLINT ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(5) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 SMALLINT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(6) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 MEDIUMINT ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(8) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 MEDIUMINT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(9) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INT ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 INT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(11) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INTEGER ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 INTEGER NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(11) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 BIGINT ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 BIGINT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 REAL ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 REAL NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DOUBLE ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 DOUBLE NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 FLOAT ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 FLOAT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DECIMAL ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 DECIMAL NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 NUMERIC ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 NUMERIC NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 TINYINT ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(3) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 TINYINT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(4) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 SMALLINT ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(5) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 SMALLINT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(6) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 MEDIUMINT ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(8) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 MEDIUMINT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(9) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INT ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 INT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(11) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INTEGER ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 INTEGER NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(11) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 BIGINT ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 BIGINT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 REAL ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 REAL NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DOUBLE ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 DOUBLE NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 FLOAT ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 FLOAT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DECIMAL ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 DECIMAL NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 NUMERIC ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 NUMERIC NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 TINYINT UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(3) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 TINYINT UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(3) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 SMALLINT UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(5) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 SMALLINT UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(5) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 MEDIUMINT UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(8) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 MEDIUMINT UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(8) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INT UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 INT UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INTEGER UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 INTEGER UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 BIGINT UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 BIGINT UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 REAL UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 REAL UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DOUBLE UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 DOUBLE UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 FLOAT UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 FLOAT UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DECIMAL UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 DECIMAL UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 NUMERIC UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 NUMERIC UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 TINYINT UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(3) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 TINYINT UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(3) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 SMALLINT UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(5) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 SMALLINT UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(5) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 MEDIUMINT UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(8) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 MEDIUMINT UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(8) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INT UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 INT UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INTEGER UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 INTEGER UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 BIGINT UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 BIGINT UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 REAL UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 REAL UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DOUBLE UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 DOUBLE UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 FLOAT UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 FLOAT UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DECIMAL UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 DECIMAL UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 NUMERIC UNSIGNED ZEROFILL NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 NUMERIC UNSIGNED NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned DEFAULT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 TINYINT ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(3) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 TINYINT NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(4) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 SMALLINT ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(5) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 SMALLINT NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(6) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 MEDIUMINT ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(8) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 MEDIUMINT NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(9) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INT ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 INT NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(11) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INTEGER ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 INTEGER NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(11) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 BIGINT ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 BIGINT NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 REAL ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 REAL NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DOUBLE ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 DOUBLE NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 FLOAT ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 FLOAT NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DECIMAL ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 DECIMAL NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 NUMERIC ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 NUMERIC NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 TINYINT ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(3) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 TINYINT NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(4) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 SMALLINT ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(5) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 SMALLINT NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(6) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 MEDIUMINT ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(8) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 MEDIUMINT NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(9) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INT ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 INT NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(11) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INTEGER ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 INTEGER NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(11) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 BIGINT ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 BIGINT NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 REAL ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 REAL NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DOUBLE ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 DOUBLE NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 FLOAT ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 FLOAT NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DECIMAL ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 DECIMAL NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 NUMERIC ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 NUMERIC NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 TINYINT UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(3) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 TINYINT UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(3) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 SMALLINT UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(5) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 SMALLINT UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(5) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 MEDIUMINT UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(8) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 MEDIUMINT UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(8) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INT UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 INT UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INTEGER UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 INTEGER UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 BIGINT UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 BIGINT UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 REAL UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 REAL UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DOUBLE UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 DOUBLE UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 FLOAT UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 FLOAT UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DECIMAL UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 DECIMAL UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 NUMERIC UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 MODIFY c1 NUMERIC UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 TINYINT UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(3) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 TINYINT UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` tinyint(3) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 SMALLINT UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(5) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 SMALLINT UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` smallint(5) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 MEDIUMINT UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(8) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 MEDIUMINT UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` mediumint(8) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INT UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 INT UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 INTEGER UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 INTEGER UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` int(10) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 BIGINT UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 BIGINT UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` bigint(20) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 REAL UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 REAL UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DOUBLE UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 DOUBLE UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` double unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 FLOAT UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 FLOAT UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` float unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 DECIMAL UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 DECIMAL UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test CREATE TABLE t4(c1 NUMERIC UNSIGNED ZEROFILL NOT NULL); SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned zerofill NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 ALTER TABLE t4 CHANGE c1 c1 NUMERIC UNSIGNED NOT NULL; SHOW TABLES; Tables_in_test t4 SHOW CREATE TABLE t4; Table Create Table t4 CREATE TABLE `t4` ( `c1` decimal(10,0) unsigned NOT NULL ) ENGINE=ENGINE DEFAULT CHARSET=latin1 DROP TABLE t4; SHOW TABLES; Tables_in_test