Randolph West hits us with a misnamed SQL Server data type:
It occurred to me that we haven’t covered the
TIMESTAMPdata type in this series about dates and times.
TIMESTAMPis the Windows Millennium Edition of data types. It has nothing to do with date and time. It’s a row version. Microsoft asks that we stop calling itTIMESTAMPand useROWVERSIONinstead.Much like
DECIMALis a synonym ofNUMERIC, so too isTIMESTAMPa synonym ofROWVERSION. Please call it aROWVERSIONand pretend thatTIMESTAMPdoesn’t exist. Microsoft is deeply sorry for the confusion.
As I say, dates and times are hard. But at least this is easy: if you don’t use it, you won’t have problems with it.