开发者

Send report only when the attachment has data in SSRS

Is there a way to configure SSRS (data-driven subscription?) to send reports in email only when the report 开发者_开发百科contains data?


Unfortunately, there is no official configuration for "not send if no data". But you can try russch's workarounds. You can also find useful suggestions in comments. I prefer the raise error trick:

IF @@ROWCOUNT = 0 RAISERROR('No data', 16, 1)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜