I created two fields text(varchar)
, number(int)
using mysql. But I am not sure what size i should put for varchar()
, int()
, for varchar()
, I checked here: http://dev.mysql.com/doc/refman/5.0/en/char.html, and know if I put varchar(4)
, it means: can hold up to 4 characters. But for int(4)
, I checked here: http://dev.mysql.com/doc/refman/5.0/en/integer-types.html, It is said: Maximum Value:(Signed/Unsigned)(2147483647/4294967295)
Question:
for int(4)
, how did it get this value2147483647/4294967295
? if i put int(8)
, what would the value be?