日期时间和时间戳有什么区别 [英] What is difference between datetime and timestamp
本文介绍了日期时间和时间戳有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Sql Server 中的日期时间和时间戳数据类型有什么区别?.
What is difference between datetime and timestamp datatype in Sql Server?.
推荐答案
一个是日期和时间,另一个是每次更新一行时更新的列类型.
One is a date and time, the other is a column type that is updated every time a row is updated.
[注意时间戳已被弃用;使用 rowversion 代替]
[Note timestamp is being deprecated; use rowversion instead]
这篇关于日期时间和时间戳有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文