Here is a sample of the source data table
GotIt
startDt endDt Amt
01/01/2007 04/04/2007 100
02/02/2007 04/04/2007 150
03/03/2007 04/04/2007 250
I am trying to get the data into a temp table to show the date range and amount represented in that range as shown below. Any ideas would be greatly appreciated.
Need it
startDt endDt Amt
01/01/2007 02/02/2007 100
02/02/2007 03/03/2007 250
03/03/2007 04/04/2007 400
GotIt
startDt endDt Amt
01/01/2007 04/04/2007 100
02/02/2007 04/04/2007 150
03/03/2007 04/04/2007 250
I am trying to get the data into a temp table to show the date range and amount represented in that range as shown below. Any ideas would be greatly appreciated.
Need it
startDt endDt Amt
01/01/2007 02/02/2007 100
02/02/2007 03/03/2007 250
03/03/2007 04/04/2007 400