
int, bigint, smallint, and tinyint (Transact-SQL) - SQL Server
Aug 21, 2025 · To save space in the database, use the smallest data type that can reliably contain all possible values. For example, tinyint would be sufficient for a small lookup table …
SQL Server INT Data Types: BIGINT, INT, SMALLINT, TINYINT
This tutorial introduces you to the SQL Server integer data types and shows you how to use them effectively to store integer values in the database.
What is the difference between tinyint, smallint, mediumint ...
The following example creates a table using the bigint, int, smallint, and tinyint data types. Values are inserted into each column and returned in the SELECT statement.
SMALLINT – SQL Tutorial
In SQL, SMALLINT is a numeric data type that stores integer values ranging from -32,768 to 32,767. The SQL SMALLINT data type takes up 2 bytes of storage space and is commonly …
13.1.2 Integer Types (Exact Value) - INTEGER, INT, SMALLINT ...
MySQL supports the SQL standard integer types INTEGER (or INT) and SMALLINT. As an extension to the standard, MySQL also supports the integer types TINYINT, MEDIUMINT, and …
SQL SMALLINT Data Type - Dofactory
Dec 21, 2023 · The SMALLINT data type in SQL Server is an integer type that accepts values from -32,768 to 32,767.
SMALLINT (column type) | SQL
The SQL type smallint is typically no shorter than a 16 big signed integer (-32768 to 32767). column_name SMALLINT . Note that the SQL language has no unsigned modifier (see: …