随笔分类 -  Sql Server

摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->--当前时间上个月最后一天 select dateadd(ms,-3,DATEADD(mm, DATEDIFF(mm,0,getdate()), 0)) --当前时间一周的第一天 SELECT DA... 阅读全文
posted @ 2008-12-05 08:08 wangwang0522 阅读(282) 评论(0) 推荐(0)