int(1) and int(11)
| From: | Shelley | Date: | Mon, 25 Aug 2008 03:23:59 +0000 |
| Subject: | int(1) and int(11) | ||
| Groups: | php.db php.general | ||
| Request: | Send a blank email to php-general+get-278621@lists.php.net to get a copy of this message | ||
Hi all,
Is there any difference between int(1) and int(11) when creating a table?
I checked the mysql manual and got that 1 and 11 are used to specify the
display width of an column.
Is there any other difference?
Any ideas appreciated.
Thx.
--
With best regards,
Shelley Shyan
http://phparch.cn