sqlserver時間函數DATEDIFF介紹
select * from ShopOrder where datediff(week,ordTime,getdate()-1)=0?? //查詢當天日期在一周年的數據 select * from ShopOrder where dated...
select * from ShopOrder where datediff(week,ordTime,getdate()-1)=0?? //查詢當天日期在一周年的數據 select * from ShopOrder where dated...