Query Execution Plan in SQL



set showplan_xml off

set statistics profile off

select * from sys.messages
where message_id=3902


select * from sys.dm_exec_cached_plans --returns plan type,memory size and usecounts


select * from sys.dm_exec_query_stats --returns last execution time,

select * from sys.dm_exec_requests --returns plans that are currently excuting.

Query Execution Plan in SQL Reviewed by Rupesh on 05:04 Rating: 5

1 comment:

All Rights Reserved by Technology from Developers Eye © 2014 - 2015
Powered By Blogger, Designed by Aadics
Disclaimers:: The information provided within this blogsite is for general informational purposes only. While we try to keep the information up-to-date and correct, there are no representations or warranties, express or implied, about the completeness, accuracy, reliability, suitability or availability with respect to the information, products, services, or related graphics contained in this blogsite for any purpose.The author does not assume and hereby disclaims any liability to any party for any loss, damage, or disruption caused by errors or omissions, whether such errors or omissions result from accident, negligence, or any other cause.

Contact Form

Name

Email *

Message *

Powered by Blogger.