01.SQL 02.-本周第一天 03.SELECT DATEADD(Day,1-(DATEPART(Weekday,getdate()+DATEFIRST-1)%7,getdate() 04.-or 05.select dateadd(wk, datediff(wk,0,getdate(), 0) 06.-本周第一天 07.select dateadd(wk, datediff(wk,0,getdate(), 6) 08. 09.-上月第一天 10.SELECT CONVERT(CHAR(10),DATEADD(month,-1,DATEADD(dd,-DAY(GETDATE()+1,GETDATE(),111) 11.-上月最后一天 12.SELECT CONVERT(CHAR(10),DATEADD(ms,-3,DATEADD(mm, DATEDIFF(mm,0,getdate(),0),111)+ 23:59:59 13.-本月第一天 14.select date