In this article I look at the storage size of the time data type in SQL Server.
In particular, I look at the following:
- Microsoft’s documentation
- Data stored in a variable
- Length in bytes using
DATALENGTH() - Length in bytes using
DATALENGTH()after converting to varbinary
- Length in bytes using
- Data stored in a database
- Length in bytes using
COL_LENGTH() - Length in bytes using
DBCC PAGE()
- Length in bytes using