Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
programer
Posting Yak Master
221 Posts |
Posted - 2011-01-26 : 08:03:18
|
Hi,What is the difference between int and tinyint?Regards |
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2011-01-26 : 08:22:17
|
The differences are in the minimum and maximum values that each type can hold.tinyint 0 to 255int -2,147,483,648 to 2,147,483,647and the size needed in storagetinyint 1 byteint 4 byte No, you're never too old to Yak'n'Roll if you're too young to die. |
|
|
|
|
|