phpbar.de logo

Mailinglisten-Archive

[php] mysql

[php] mysql

Michael Wiechert wiechert_(at)_gfz-potsdam.de
Wed, 19 Jan 2000 13:23:39 +0100


Önder Balkaya wrote:
> 
> Hallo,
> kann mir vielleicht jemand sagen welche max. länge ein
> Variable hat?
> TINYINT=4 (nur Zahlen) usw.?
 
int 

Integer (whole number) data from -2^31 (-2,147,483,648) through 2^31 - 1
(2,147,483,647). Storage size is 4
bytes. The SQL-92 synonym for int is integer. 


smallint 

Integer data from -2^15 (-32,768) through 2^15 - 1 (32,767). Storage
size is 2 bytes. 


tinyint 

Integer data from 0 through 255. Storage size is 1 byte. 


war es daß, was du brauchtest?

Michael.


php::bar PHP Wiki   -   Listenarchive