Link to home
Start Free TrialLog in
Avatar of vikasbapat
vikasbapat

asked on

Problem using Temporary Table in Sql Server Reporting Service

Hi,
I am trying to create report in Sql Server Reporting Service using RepExamTypeComparison_Test stored procedure,In this stored procedure I am using temporary table.It is working fine in SQL Server but when I am using this stored procedure in creating Report(Using Sql Reporting Service),then it give me error "There is an error in the query. Invalid object name '#tres'." where #tres is temporary table.So please tell me how I'll solve this problem?I am attaching screen shot.

Thanks
ScreenShot.doc
Avatar of Emes
Emes
Flag of United States of America image

A first test would be is to log on to SQL server as the report user. Then run the report and debug from there.  That user may need some more rights granted to them to run the report.

ASKER CERTIFIED SOLUTION
Avatar of digital_thoughts
digital_thoughts

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vikasbapat
vikasbapat

ASKER

Thanks.