首页 > 其他 > 详细

053-463

时间:2017-11-14 19:19:38      阅读:280      评论:0      收藏:0      [点我收藏+]

Which of the following datatypes store time-zone information in the database?
A. TIMESTAMP
B. DATE
C. TIMESTAMP WITH TIME ZONE
D. TIMESTAMP WITH LOCAL TIME ZONE 
E. DATETIME

  Only the TIMESTAMP WITH TIME ZONE datatype actually stores time-zone information in the database.The TIMESTAMP WITH LOCAL TIME ZONE datatype converts the timestamp to local time and drops the time-zone information before storing it in the database.DATE and TIMESTAMP datatypes do not deal with time-zone information at all.DATETIME is not a valid datatype.

053-463

原文:http://www.cnblogs.com/Babylon/p/7833916.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!