Thursday, August 6, 2015

[SSRS] 手動刪除不必要的查詢條件

 Reporting Service   Visual Studio  


▌背景

在報表伺服器專案中,因為異動Stored Procedure的參數, 將其名稱 @A 改為 @B ,造成即使重建一次DataSet ,在報表(RDL)上仍會顯示舊的查詢條件 A 。

▌環境

l   Windows 7 Enterprise
l   Visual Studio 2013 update 5
l   Sql Server 2012
l   Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2013


▌解決方式

選擇以”檢視程式碼”的方式開啟報表(RDL),
並在 <ReportParameters>下,移除不必要的查詢條件。





No comments:

Post a Comment