TINYINT(m) 8-bit integer (1 byte, -128 to +127);
mysql>
mysql>
mysql> CREATE TABLE a (
-> id INT NOT NULL AUTO_INCREMENT,
-> choice TINYINT NOT NULL,
-> ts TIMESTAMP,
-> PRIMARY KEY (id));
Query OK, 0 rows affected (0.00 sec)
mysql>
mysql> drop table a;
Query OK, 0 rows affected (0.00 sec)
Related examples in the same category