日期:2014-05-18 浏览次数:20847 次
select case when datepart(weekday,getdate()) = 1 then 'SUN' when datepart(weekday,getdate()) = 2 then 'MON' when datepart(weekday,getdate()) = 3 then 'TUE' when datepart(weekday,getdate()) = 4 then 'WED' when datepart(weekday,getdate()) = 5 then 'THU' when datepart(weekday,getdate()) = 6 then 'FRI' when datepart(weekday,getdate()) = 7 then 'SAT' end