• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 680
  • Last Modified:

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
0
vikasbapat
Asked:
vikasbapat
1 Solution
 
EmesCommented:
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.

0
 
digital_thoughtsCommented:
Have you tried to just click the Next button and move forward? I'm not sure, but maybe its running some sort of validation on the stored procedure and its not recognizing that the table is being created in the procedure.... just a guess though.
0
 
vikasbapatAuthor Commented:
Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now