Loading

摘要: ``` select DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE())-1, 0) --First day of previous month select DATEADD(MONTH, DATEDIFF(MONTH, -1, GETDATE())-1, -1) --Last Day of previous month ``` 阅读全文
posted @ 2018-05-07 15:25 Dhoopu 阅读(468) 评论(0) 推荐(0) 编辑