You need a table of sequential values. You can create it on the fly, by these are so handy that I usually create them as a permanent table:CREATE TABLE [dbo].[SequentialNumbers] ([SeqValue] [int] NOT NULL)Populate it with, say 100 integers, starting with 0.Then run a script like this to get the results you want:select dateadd(day, SeqValue, [CalendarBeginDate])from SequentialNumbers left outer join [YourTable] on dateadd(day, SeqValue, @BeginDate) = [YourTable].[YourDate]where dateadd(day, SeqValue, @BeginDate) <= CalendarEndDate and [YourTable].[YourDate] is null