[UPHPU] MySQL int lenght?

William Attwood wattwood at gmail.com
Wed Jul 30 12:02:47 MDT 2008


INT[Length]

4 bytes

Range of -2,147,483,648 to 2,147,483,647 or 0 to 4,294,967,295 unsigned.


On Wed, Jul 30, 2008 at 11:59 AM, Wade Preston Shearer <
lists at wadeshearer.com> wrote:

> The docs show that you can specify a length for a MySQL int field, but I
> don't see it used in any examples. What does length do? how is it used?
> what's the point? There is tinyint, smallint, int, etc, that are different
> sites. Is int [length] like how it works with varchar()?
>
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>


More information about the UPHPU mailing list