以2020年第七周为例:
SELECT
date
FROM
(
SELECT
date
FROM
(
SELECT
dateadd (dd, number, '2020-01-01') date
FROM
master..spt_values -- 系统表
WHERE
type = 'p'
AND number >= 0
AND number < datediff (dd, '2020-01-01', '2021-01-01')
) t
WHERE
datepart (week, date) = 7
) a