📅  最后修改于: 2022-03-11 15:04:52.359000             🧑  作者: Mango
DECLARE @MinDate DATE = '20140101',
@MaxDate DATE = '20140106';
SELECT Date
FROM dbo.Calendar
WHERE Date >= @MinDate
AND Date < @MaxDate;