Dear all,
Could anyone advise how to convert timestemp to Datetime value using T-SQL
for exmple of timestamp 0x00083D9C95BBF180 and I want to have it in readable datetime.
Many thanks
LG
Transact-SQL
Dear all,
Could anyone advise how to convert timestemp to Datetime value using T-SQL
for exmple of timestamp 0x00083D9C95BBF180 and I want to have it in readable datetime.
Many thanks
LG
AS Konstantin indicates, the timestamp datatype has nothing to do with date and time values. It is a sequential binary number that increments upon any change to the database.
It is useful for managing sequence, or determining if data has been altered. But you can't get datetime from it...
I'm use this statement.
CONVERT
(CHAR(19), GETDATE(),20)