SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 How to identity Display Estimated Executioon plan
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kond.mohan
Posting Yak Master

India
189 Posts

Posted - 03/11/2013 :  08:48:32  Show Profile  Reply with Quote
hi
we are exetiong Stored proceduer on Sql server 2008.stored proceduere exetting throuth temp tables and table varibles.lot of time consuming for execution. if sp having temp tables and table varibles then how to know the displsy estimated Execution plan for indexes.i have selected sp and right click selected by estimated executioon plan it is showing error.

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2004 Posts

Posted - 03/11/2013 :  11:53:46  Show Profile  Visit jackv's Homepage  Reply with Quote
what is the error message?

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 03/11/2013 :  12:36:04  Show Profile  Reply with Quote
i think you may not have rights to view execution plan ie getting error showplan permission denied in database

if thats the case ask the sysadmin to grant you the right

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

jackv
Flowing Fount of Yak Knowledge

United Kingdom
2004 Posts

Posted - 03/12/2013 :  12:58:31  Show Profile  Visit jackv's Homepage  Reply with Quote
If it's a showplan denied error - request a : GRANT SHOWPLAN TO UserName


Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000