sql 中将日期中分秒化为零的语句

来自:网络
时间:2021-05-28
阅读:
复制代码 代码如下:
select cast(convert(nvarchar(10),getdate(),112) as datetime)

暂定为这样.
有没有优化的地方呢?

返回顶部
顶部