SELECT DATEADD(Day,(@i+1)-(DATEPART(Weekday,getdate())+@@DATEFIRST-1)%7,getdate())
Sql Server 获取本周周一
猜你喜欢
转载自www.cnblogs.com/RambleLife/p/9858679.html
今日推荐
周排行