February 21, 2008 at 3:05 am
Hi,
I recently developed a stored procedure and tried to look at the execution plan. The procedure user temp tables and when i tried hitting on the execution plan button an error was thrown back stating as 'Invalid object name #temp_Tariffs'.
How to avoid this error.
February 21, 2008 at 6:52 am
You're trying to generate an estimated execution plan. You can't with the temp tables. Generate an actual execution plan instead, which means running the query, so make sure you're not in production.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy