Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Append Query for date range

$
0
0
I am currently trying to make an Append query that will take the Start date from one table and the end date from the same table and append all dates between those 2 into another table.

Currently have

INSERT INTO [Service Contract] ( [Service Start Date], [Servvice ID] )
SELECT DoS.[DoS Start], DoS.[Service ID]
FROM DoS;

I can append the start date but how would I increment it to the end date

DoS.[DoS End] is the end date

Is there some kind of loop function I can execute?

Viewing all articles
Browse latest Browse all 13329

Trending Articles