ive5005s
asked on
SQL Reporting Services - SP with Temp Table
Hi,
Is it possible to create a report using the report wizard that will return the results from a Stored Procedure that contains a temporary table?
I have tried this but I get an error message at the "Design the Query" stage of the Wizard......
"There is an error in the query. Invalid object name '#Temp'.
I also get the same message if I try to display the estimated execution plan in Query Analyser.
Thanks in advance,
Steve.
Is it possible to create a report using the report wizard that will return the results from a Stored Procedure that contains a temporary table?
I have tried this but I get an error message at the "Design the Query" stage of the Wizard......
"There is an error in the query. Invalid object name '#Temp'.
I also get the same message if I try to display the estimated execution plan in Query Analyser.
Thanks in advance,
Steve.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
When you open a new project in Visual Studio, you have two choices:
Report Project Wizard
or
Report Project
choose the latter.
Report Project Wizard
or
Report Project
choose the latter.
I did answer his question about why he was getting the error message - you cannot use the Report Wizard if the SQL stored proc in the dataset has temp tables. That should be worth getting the solution points.
ASKER
Thanks ABaruh.
ASKER
Please could you point me to some resources that will explain how I to do this?
Thanks.