SQL Server row date last modified

前端 未结 6 590
说谎
说谎 2021-01-07 16:09

A colleague of mine says that SQL Server saves the date and time of last modification in a \"hidden column\" in each record. I am pretty sure that he said something wrong. C

6条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-07 16:56

    There is no hidden column, maintained on a per-row basis, that contains the date/time of the last modification. Nor is there a column containing the identity of the user who performed such a change, nor is there a column that identifies what the last change performed was (insert or update).

    If you want any of these features, you have to implement them. For some users, every last bit of overhead could matter to them, so having hidden features (with hidden costs) would not be acceptable.

提交回复
热议问题