我在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