Home Forums SQL Server 2005 SQL Server 2005 General Discussion Can i use timestamp in order by to get records which are changed , inserted after old time stamp RE: Can i use timestamp in order by to get records which are changed , inserted after old time stamp

  • The name timestamp is very badly chosen. It is a binary number, not an actual date.

    Given the issues with timestamp, wouldn't it be easier to just use an IDENTITY column? This simply increments for every new record.

    You can have gaps (if transactions fail for example), but as long as you don't mess with the column new values have always bigger values than the previous ones and duplicates do not occur.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP