Script to Find Slowest Running Query in SQL Server

In this post, I provide you one script to find slowest running queries in SQL Server.
This is script is very useful to SQL Server DBA.
Below is SQL Query.

Using above query you can find top 10 slowest queries with query plan text.

Please share your ideas and opinions about this topic with me, your contribution will add true value to this topic.
If anyone has doubts on this topic then please do let me know by leaving comments or send me an email.

If you like this post, then please share it with others.
Please follow, I will share my experience towards the success of Database Research and Development Activity.

I put up a post every day, please keep reading and learning.
Discover Yourself, Happy Blogging !
Anvesh M. Patel.

More from