我在SQL Server 2012中有3個真正大的表,全都與電話號碼有關。當我創建與Visual Studio BI報表嚮導的報告我收到以下錯誤:SQL Server Reporting Services返回的記錄太多
"An error occurred during local report processing. An error has occurred during report processing. Exception of type 'System.OutOfMemoryException' was thrown."
我認爲該報告返回太多的記錄,如果它運行。如何停止自動運行報告?還是其他建議?
報告中使用的查詢如下。
SELECT table1.customer_phone, table2.PhoneNumber, table3.ANI
FROM LMIRSessions INNER JOIN
table1 ON table2.PhoneNumber = table1.customer_phone INNER JOIN
table3 ON table2.PhoneNumber = table3.ANI
做一個select count(1)來獲得返回記錄的數量,讓每個人都瞭解「大」表的含義。這可能有助於答覆 – Lereveme