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)

相关文章:

  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2021-11-16
  • 2022-12-23
猜你喜欢
  • 2021-12-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案