select
datepart(d,DATEADD(day,7,getdate()))/7 + (case when datepart(d,DATEADD(day,7,getdate()))%7>datepart(weekday,DATEADD(day,7,getdate()))
then 2
when (datepart(d,DATEADD(day,7,getdate()))%7 = 0 and datepart(weekday,DATEADD(day,7,getdate())) = 7)
then 0
else 1 end)
获取当前日期7天后是本月第几周