SELECT * FROM dbo.ManageManage_Purchase WHERE DATEDIFF(dd, CreateTime , GETDATE()) <= 30 -- 30天内
转载于:https://www.cnblogs.com/jiamengyang/p/9300654.html
SELECT * FROM dbo.ManageManage_Purchase WHERE DATEDIFF(dd, CreateTime , GETDATE()) <= 30 -- 30天内
转载于:https://www.cnblogs.com/jiamengyang/p/9300654.html