我需要将给定联合所有联接查询的结果集存储到临时表中
DECLARE @no_of_days INT = 2
DECLARE @xxx DATETIME = '2009-11-04'
SELECT *
FROM source_price_curve
WHERE maturity_date >= DATEADD(DAY, -1 * @no_of_days, @xxx) AND maturity_date < @xxx
UNION ALL
SELECT *
FROM source_price_curve
WHERE maturity_date <= DATEADD(DAY, 1 * @no_of_days, @xxx) AND maturity_date > @xxx