Sql Server 得到当月第一天

select dateadd(day,-day(getdate())+1,getdate())

posted on 2008-03-28 10:32  Eric Zhang  阅读(1185)  评论(0编辑  收藏  举报

导航