标签:
where datepart(weekday, req.StartTime) in (1,7) and datepart(weekday, req.EndTime) in (1,7) and DATEDIFF(day,req.StartTime,req.EndTime)=1
sql获取判断创建时间时周末
原文地址:http://www.cnblogs.com/xiguain/p/4747380.html