0

中的时间定义MonetDB说:“TIMESTAMP [ '(' posint ')' ]日期与唯一时间、精度连接”

这是否意味着如果使用 a 创建两行DEFAULT TIMESTAMP,这些时间戳保证是唯一的,即使它们是在同一毫秒内创建的?

4

1 回答 1

0

MonetDB 时间戳是(引用自mtime.mal):

# @+ Timestamp
# An absolute point of time, as formed by the combination of a date a daytime in GMT
# e.g. 1999-01-31@@23:59:59:000

所以,你的答案是否定的,时间戳不能保证是唯一的

警告:我没有查看 MonetDB 源中处理 的部分DEFAULT TIMESTAMP,所以我对我的答案只有 90% 的把握。

于 2016-12-02T17:16:24.033 回答