摘要:
由于项目需要,需要一些个处理日期的sql语句,从网上搜了一下,其中有一篇blog写的不错,共享如下Fromthis post:---Calculates the first day of the previous monthSELECT DATEADD(mm, DATEDIFF(m, 0, GETDATE()) - 1, 0)AS [First day of the previous month]... 阅读全文
posted @ 2008-08-12 11:20 青松阳光 阅读(407) 评论(0) 推荐(0) 编辑