📅  最后修改于: 2022-03-11 15:05:08.649000             🧑  作者: Mango
convert(varchar, [column_date], 20) --(date or datetime) to yyyy-MM-dd HH:mm:ss
convert(varchar, [column_date], 23) --(date or datetime) to yyyy-MM-dd
--ref https://www.mssqltips.com/sqlservertip/1145/date-and-time-conversions-using-sql-server/