时间戳(0)和时间戳(6)之间的区别
有人可以告诉我 Teradata 中时间戳(0)和时间戳(6)之间的区别吗
Can some body tell me the difference between timestamp(0) and timestamp(6) in Teradata
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
timestamp(p)
,其中p
是秒小数部分的位数(微秒),0 ⇐ p ⇐ 6。如果为 0,则没有小数部分第二。timestamp(p)
, wherep
is the number of digits in the fractional part of second (microseconds), 0 ⇐ p ⇐ 6. With 0 there are no fractions of the second.数字(0 或 6)是您要存储的秒小数部分的位数。 6 是最大值。
The number (0 or 6) is the number of digits for fractions of a second that you want to store. 6 is the maximum.