Hi I have a periods table that has the following:
#periods
PeriodStart PeriodStop
null 2008-08-30
null 2008-07-30
null 2008-06-30
I would like to see the following
PeriodStart PeriodStop
2008-07-31 2008-08-30
2008-07-01 2008-07-30
2008-06-31 2008-06-30
The rule is:
Periodstart = add 1 day to the next periods periodstop
What is the code to populate the PeriodStart
Thank you for your assistence
Mark
#periods
PeriodStart PeriodStop
null 2008-08-30
null 2008-07-30
null 2008-06-30
I would like to see the following
PeriodStart PeriodStop
2008-07-31 2008-08-30
2008-07-01 2008-07-30
2008-06-31 2008-06-30
The rule is:
Periodstart = add 1 day to the next periods periodstop
What is the code to populate the PeriodStart
Thank you for your assistence
Mark