Author:myssh select a as 星期, getdate() as 日期 from(select a='星期一',b=1 union all select '星期二',2 union all select '星期三',3 union all select '星期四',4 union all select '星期五',5 union all select '星期六',6 union all select '星期日',0 )a where b = (datepart(weekday,getdate())-1) 相关文章: 2021-11-01 2021-11-05 2021-12-28 2021-08-05 2021-09-12 2021-10-06 2021-11-30 2021-12-08