select * from tbOutData where datediff(day,datCashTime,getdate())
between datediff(day,(getdate()-1),getdate()) and datediff(day,getdate(),getdate())
转载于:https://www.cnblogs.com/wgx0428/archive/2012/03/17/2403248.html
select * from tbOutData where datediff(day,datCashTime,getdate())
between datediff(day,(getdate()-1),getdate()) and datediff(day,getdate(),getdate())
转载于:https://www.cnblogs.com/wgx0428/archive/2012/03/17/2403248.html