时间:2021-07-01 10:21:17 帮助过:51人阅读
SQL取日期部分 无 convert(varchar(10),getdate(),120) convert(varchar(10),getdate(),23) SELECT CAST(GetDate() as DATE)SELECT CONVERT(DATE,GetDate())
convert(varchar(10),getdate(),120) convert(varchar(10),getdate(),23)
SELECT CAST(GetDate() as DATE) SELECT CONVERT(DATE,GetDate())