Krishna1 (6/25/2013)
Dear All
I have folloing query
select sum(yy) sumyy, 'summary line' xx
from tablea
where somedate_column < @startdate_parameter
union
select yy, xx
from tablea
where somedate_column between @startdate_parameter and @enddate_parameter
Is there a better way to achive this...