datetime 可以精确到毫秒,而smalldatetime 只精确到分钟。select cast(getdate() as datetime)select cast(getdate() as smalldatetime)
------------------------------------------------------
2003-05-23 22:57:31.397(所影响的行数为 1 行)
------------------------------------------------------
2003-05-23 22:58:00(所影响的行数为 1 行)
------------------------------------------------------
2003-05-23 22:57:31.397(所影响的行数为 1 行)
------------------------------------------------------
2003-05-23 22:58:00(所影响的行数为 1 行)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货