T-SQL 101: 36 Exact whole numbers in SQL Server
I previously mentioned that SQL Server supports a wide variety of data types. The first of these are what we would consider exact numbers. Here are the available types:

So there’s a tinyint that’s basically one byte in size. One byte (8 bits) gives us 2^8 possible values, so we have 256 possible values. The first one is zero, so we have values up to 255.
Note: tinyint doesn’t allow for negative values.
2019-09-23
