青松阳光

关注.NET平台及SharePoint产品
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2008年8月12日

摘要: 由于项目需要,需要一些个处理日期的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 青松阳光 阅读(405) 评论(0) 推荐(0) 编辑