In the last episode (Jun 10), Mojtaba Faridzad said:
> I defined a field as INT type but when I checked in phpMyAdmin, it showed
> INT(11). Still I cannot enter higher 2147483647 (signed int) in this field.
> Does 11 mean that MySQL needs 11 bytes to keep it?  I changed the length to
> 2 (for example) but still I could save higher values such as 999 in it!!!
> What does length mean in INT(length)?

Display width.  If you need to store a larger value, use a different
integer type.

http://www.mysql.com/doc/en/Column_types.html

-- 
        Dan Nelson
        [EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to