Sql Server 获取本周周一

select dateadd(day,(@i+1)-(datepart(weekday,getdate())+@@datefirst-1)%7,getdate())

(0)
上一篇 2022年3月21日
下一篇 2022年3月21日

相关推荐