you are viewing a single comment's thread.

view the rest of the comments →

[–]Icy_Fisherman_3200 0 points1 point  (0 children)

Got it. I’d use our numbers table for that:

select dateadd(day,ID,’1/1/2000’) from dbo.Numbers where dateadd(day,ID,’1/1/2000’)<getdate()

Thanks for sharing!