What’s the difference between SMALLINT, INT, and
BIGINT?
What’s the difference between SMALLINT, INT, and BIGINT?
1721
21-Aug-2025
Updated on 10-Nov-2025
Mayank kumar Verma
10-Nov-2025Difference Between SMALLINT, INT, and BIGINT
These data types store integer (whole) numbers but differ in the range they can hold and the space they use.
Summary
SMALLINT → Small range, less space
INT → Standard integer
BIGINT → Very large range
Use SMALLINT for small values (e.g., age), INT for most numeric IDs, and BIGINT for very large counts (e.g., global user IDs).
ICSM Computer
21-Aug-2025Numeric Integer Data Types in SQL Server
Key Points
Best Practice
Always pick the smallest type that fits the data range.