On 27 Apr 2004 at 13:59, Ronan Lucio wrote:

> OK, I understood it, but I didnīt understand why is there an option
> TINYINT(n)

See http://dev.mysql.com/doc/mysql/en/Numeric_types.html

|   Another extension is supported by MySQL for optionally
|   specifying the display width of an integer value in
|   parentheses following the base keyword for the type (for
|   example, INT(4)). This optional display width specification
|   is used to left-pad the display of values having a width
|   less than the width specified for the column. However, the
|   display width does not constrain the range of values that
|   can be stored in the column, or the number of digits that
|   will be displayed for values having a width exceeding that
|   specified for the column.

I haven't found much use for display widths myself, but then
different people use MySQL differently.

--
Keith C. Ivey <[EMAIL PROTECTED]>
Tobacco Documents Online
http://tobaccodocuments.org


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

Reply via email to