是否有任何列表列出了可以在SQL Server Management Studio中用於報告訂閱的文件名中使用的所有變量?我目前在我的文件名中使用@timestamp
,但希望使用其他選項,甚至刪除部分時間戳(例如,只使用日期,而不是時間)。要在Reporting Services訂閱的文件名中輸入的變量
3
A
回答
4
不幸的是@timestamp
是唯一可用的變量。有格式化@timestamp
的各種解決方法,但沒有那麼簡單。下面是一個解釋(但不是唯一的)解決方法螺紋: http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/81f47009-946a-4ebc-be43-7690236e829b
如果該鏈接消失,這裏是一些建議:
爲了解決這個問題,我會建議使用數據 - Driven Subscription
數據驅動訂閱提供了一種使用動態訂閱 在運行時從外部數據源檢索的數據的方法。 A 數據驅動的訂閱也可以使用您在定義訂閱時指定的靜態文本和默認值 。我們可以使用 數據驅動的訂閱來執行以下操作:
將報告分配給波動的訂閱者列表。例如, 可以使用數據驅動的訂閱在整個大型組織中分發報告 ,其中訂戶從一個月 到下一個月有所不同,或者使用其他標準從現有用戶組中確定組成員資格 。使用報告 在運行時檢索的參數值過濾報告輸出。更改報告輸出 每種報告交付的格式和交付選項。 。
在這種情況下,我們可以在數據庫 中用時間戳定義文件名,然後使用數據驅動的訂閱來交付報告。
有關數據驅動訂閱的更多信息,請訪問:
對於SQL Server報告服務2005年: http://msdn.microsoft.com/en-us/library/ms159150(SQL.90).aspx
對於SQL Server報告服務2008年: http://msdn.microsoft.com/en-us/library/ms159150.aspx
相關問題
- 1. Sql Reporting Services訂閱錯誤
- 2. SQL Server Reporting Services 2005;訂閱
- 3. SQL Reporting Services移動訂閱
- 4. 備份Reporting Services 2005中的訂閱
- 5. 以編程方式在Reporting Services中創建訂閱
- 6. 帶有動態參數的SQL Server Reporting Services訂閱
- 7. Reporting Services文件夾配置
- 8. Reporting Services中的小組彙總摘要
- 9. 的Reporting Services - 數據放入使用Reporting Services子報表
- 10. 訪問「姓名」こ訂閱變量的訂閱方法
- 11. 嵌入在WinForm中的Reporting Services是否需要SQL Server?
- 12. 取消運行SQL Server Reporting Services報表訂閱?
- 13. Sharepoint中Reporting Services報告的多參數字符串值(管理訂閱)
- 14. SQL Server Reporting Services入門
- 15. 如何在Reporting Services的電子郵件訂閱中配置生成的報告的URL?
- 16. MS Reporting Services 2005 - 報告訂閱僅電子郵件偶爾正常工作
- 17. SQL Server Reporting Services 2008(SSRS) - 資源/訂閱:無內容/否電子郵件
- 18. Reporting Services的表達
- 19. 爲MS Reporting Services的
- 20. Reporting Services中的繼承
- 21. Reporting Services 2012中的rsUnknownUserName
- 22. Reporting Services中的SQL聚合
- 23. SQL Reporting Services的 - 在Mozilla
- 24. 在Reporting Services 2008中存儲和檢索會話變量
- 25. 在SQL Reporting Services中對齊文本
- 26. 訂閱/ sys中的文件
- 27. MOSS和Reporting Services
- 28. SQL Server Reporting Services
- 29. Reporting Services部署
- 30. Reporting Services/Manager Access
謝謝你讓我們知道,那個鏈接是有幫助的。 – kd7iwp 2010-08-27 18:55:42