int(1) and int(11)

------=_Part_42759_30796547.1219634639225
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

------=_Part_42759_30796547.1219634639225--
skylark [ Mo, 25 August 2008 05:23 ] [ ID #1965517 ]
PHP » gmane.comp.php.database » int(1) and int(11)

Vorheriges Thema: "stored procedure execution failed"
Nächstes Thema: Sqlite 3 pdo update query problem