MS SQL datetime precision problem

后端 未结 7 1491
无人共我
无人共我 2021-01-05 11:37

I have a situation where two persons might work on the same order (stored in an MS SQL database) from two different computers. To prevent data loss in the case where one wou

7条回答
  •  旧巷少年郎
    2021-01-05 12:12

    You could use a timestamp field to check last edit date rather than a datetime field? (In SQL 2008 this is now RowVersion)

提交回复
热议问题