luvtitans50
MIS
I have 2 parameters I am passing in and they are being used as below:
@start = '2010-03-01'
@end = '2010-03-31'.
sum(case when o.startdate between @start and @end then originalopenings else 0 end) as newopenings,
now I need to create another formula but this time I want the ones with start date for the next month based on the current parameter values being passed in?
--o.startdate between '2010-04-01' and '2010-04-30'
How can I incorporate that into a formula?
@start = '2010-03-01'
@end = '2010-03-31'.
sum(case when o.startdate between @start and @end then originalopenings else 0 end) as newopenings,
now I need to create another formula but this time I want the ones with start date for the next month based on the current parameter values being passed in?
--o.startdate between '2010-04-01' and '2010-04-30'
How can I incorporate that into a formula?