SQL Server and MariaDB Types Comparison
You are viewing an old version of this article. View
the current version here.
This page helps to map each SQL Server type to the matching MariaDB type.
Numbers
Integer Numbers
SQL Server Types | Size (bytes) | MariaDB Types | Size (bytes) | Notes |
---|---|---|---|---|
TINYINT | 1 | TINYINT | 1 | |
SMALLINT | 2 | SMALLINT | 2 | |
2 | MEDIUMINT | 3 | Takes 4 bytes in memory | |
INT | 1 | INT / INTEGER | 4 | |
BIGINT | 8 | BIGINT | 8 |
Real Numbers (approximated)
Real Numbers (exact)
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.