可以參考「Find the Date range of week by current date in sql?」,. 取得本週的開始日期可以用 DATEADD(wk, DATEDIFF(wk,0,GETDATE()), -1) ,.
確定! 回上一頁