Quantcast
Channel: Answers for "DB Mail Error"
Viewing all articles
Browse latest Browse all 4

Answer by sqlaj 1

$
0
0
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.

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images