sql获取当日减去几天的几天前日期

CONVERT(varchar(10),DATEADD(DAY, -220 ,CONVERT(nvarchar(10),getdate(),23)),23)

原文地址:https://www.cnblogs.com/lacey/p/5314960.html