Home

TIL that timestamp of Microsoft SQL Server is not a date or time data type but only a deprecated synonym for rowversion.

The Transact-SQL rowversion data type is not a date or time data type. timestamp is a deprecated synonym for rowversion.

Source: Date and Time Data Types and Functions - SQL Server (Transact-SQL) | Microsoft Docs

But rowversion doesn't preserve date or time either.

Is a data type that exposes automatically generated, unique binary numbers within a database. rowversion is generally used as a mechanism for version-stamping table rows. The storage size is 8 bytes. The rowversion data type is just an incrementing number and does not preserve a date or a time.

Source: rowversion (Transact-SQL) - SQL Server | Microsoft Docs

Add your reply here with Webmention (you must link to this page in its canonical form)
Webmentions are approved manually. Will take some time until they show up.

revision: Wed Jan 10 10:55:47 2024 +0100 | fee8554 - history: /2020/10/07/2/post.md