sql server中datetime和smalldatetime的区别
yqxbc 发布时间:04-01 来源:一起学编程 浏览:11次
1、datetime记录的时间范围较长,1753-01-01到9999-12-31,可以精确到“秒”,它的长度为8位,所占的空间较大。
 
datetime: Date and time data from January 1, 1753, to December 31, 9999, wITh an accuracy of three-hundredths of a second, or 3.33 milliseconds.   

2、smalldatetime记录的时间范围较短,1900-01-01到2079-6-6,只能到精确到“分”,它的长度为4位,所占的空间较小。

smalldatetime: Date and time data from January 1, 1900, through June 6, 2079, wITh an accuracy of one minute.
如果你有好的win10资讯或者win10教程,以及win10相关的问题想要获得win10系统下载的关注与报道。
欢迎加入发送邮件到657025171#qq.com(#替换为@)。期待你的好消息!