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())