how to automatically save fresh SSRS report on a hard drive daily

时间:2016-08-31 18:10:24

标签: sql reporting-services subscription

I have subscribed SSRS report that is executed on a daily basis. But I also want the copy of that report automatically saved in a folder on a local machine with slightly changed name of the report. So one copy goes to the user, the other copy goes to the hard drive. Is that possible to achieve that?

1 个答案:

答案 0 :(得分:1)

如果您拥有企业版,则可以使用数据驱动订阅,该订阅使用查询来填充报告名称。

您将有一个查询作为源,并带有报告名称的字段:

SELECT 'Report Name ' + CONVERT(VARCHAR(8), GETDATE(), 112) AS REPORT_NAME, ...

https://msdn.microsoft.com/en-us/library/ms159150(v=sql.110).aspx