CREATE TABLE t1 (f1 CHAR(5)) ENGINE=InnoDB; CREATE TABLE t2 (f1 CHAR(5)) ENGINE=InnoDB; CREATE TABLE t3 (f1 CHAR(5)) ENGINE=InnoDB; CREATE TABLE t4 (f1 CHAR(5)) ENGINE=InnoDB; SET SESSION sql_mode='STRICT_ALL_TABLES'; PREPARE st1 FROM 'INSERT INTO t1 VALUES ("abc")'; PREPARE st2 FROM 'INSERT INTO t2 VALUES ("abc")'; PREPARE st3 FROM 'INSERT INTO t3 VALUES ("abc")'; PREPARE st4 FROM 'INSERT INTO t4 VALUES ("abc")'; EXECUTE st1; EXECUTE st2; EXECUTE st3; EXECUTE st4; SELECT COUNT(*) = 1 FROM t1; COUNT(*) = 1 1 SELECT COUNT(*) = 1 FROM t2; COUNT(*) = 1 1 SELECT COUNT(*) = 1 FROM t3; COUNT(*) = 1 1 SELECT COUNT(*) = 1 FROM t4; COUNT(*) = 1 1 ALTER TABLE t1 ADD COLUMN f2 INTEGER; ALTER TABLE t1 DROP COLUMN f1; EXECUTE st1; ERROR 22007: Incorrect integer value: 'abc' for column 'f2' at row 1 DROP TABLE t1; DROP TABLE t2; DROP TABLE t3; DROP TABLE t4;