Add "SET NOCOUNT ON" to the query. Like so...
@query=' SET NOCOUNT ON
Select ''Day wise New Users''
select call_date, isnull(cnt,0) Act_cnt,
isnull(topup1,0)topup1, isnull(topup2,0)topup2, isnull(topup3,0) topup3
from SERVER1.DB1.dbo.MIS2 order by call_date
Select '' Day wise New FCA& Saver Plan Users''
select call_date, isnull(cnt,0) Act_cnt,
isnull(topup1,0)topup1, isnull(topup2,0) topup2, isnull(topup3,0) topup3
from SERVER1.DB1.dbo.MIS1 order by call_date',
Give that a try and see if the results are as you expect.
Trending Articles
More Pages to Explore .....