Originally posted by: sao123
on my compiler, int is a 2 byte data, which contains values from -32767 to 32767
bigint which is the equivolent of long is a 4 byte data it has possible values from
-2,147,483,647 to 2,147,483,647
worth pointing out is that if you use unsigned int or unsigned long, you can double your possible value, because in a database application, you dont need to have negative numbers.
unsigned int = 65536
unsigned long = 4,294,967,296
Originally posted by: sao123
on my compiler, int is a 2 byte data, which contains values from -32767 to 32767
bigint which is the equivolent of long is a 4 byte data it has possible values from
-2,147,483,647 to 2,147,483,647
worth pointing out is that if you use unsigned int or unsigned long, you can double your possible value, because in a database application, you dont need to have negative numbers.
unsigned int = 65536
unsigned long = 4,294,967,296
