INT(1) – I know, 1 does not mean 1 digit, it represents client output display format only.
but what does this signify
i have declared YEAR as int(1), I still see all 4 bytes. please tell me what does INT(1) means ?
SELECT * FROM TEST_USERDB;
+----+--------+------+
| ID | NAME | YEAR |
+----+--------+------+
| 1 | abcccc | 2012 |
| 2 | stack | 99 |
+----+--------+------+
Read more