seeing what time timestamp was created ( i.e, converting it to a date)

  • Is it possible to convert the timestamp column in sql server to a datetime that shows the date/time the timestamp was created?

  • Timestamp is not a datetime type in T-SQL. It is varbinary(8). It's a row version, not last modified date, unfortunately.

    ...and your only reply is slàinte mhath

  • No.

    Despite its name, a timestamp is not related in any way to a datetime. It's a binary value that's unique in the database that increases whenever the row is changed.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply