A few days ago, I received following email from blog reader where the question was about the fastest way to restore database.
SQL SERVER – Subquery or Join – Various Options – SQL Server Engine Knows the Best – Part 2
SQL SERVER – Subquery or Join – Various Options – SQL Server Engine knows the Best
SQL SERVER – Convert IN to EXISTS – Performance Talk
In recent training one of the attendee asked if I can show a simple method to convert IN clause to EXISTS clause so it impacts performance. Here is the simple example.
SQL SERVER – Disabled Index and Update Statistics
When we try to update the statistics, it throws an error as if the clustered index is disabled. Now let us enable the clustered index only and attempt to update the statistics of the table right after that. Let us learn about Disabled Index and Update Statistics.
SQL SERVER – Simple Example of Snapshot Isolation – Reduce the Blocking Transactions
SQL SERVER – Find Most Expensive Queries Using DMV
The title of this post is what I can express here for this quick blog post. I was asked in recent query tuning consultation project, if I can share my script which I use to figure out which is the most expensive queries are running on SQL Server. This script is very basic and very simple, there are many different versions are available online. This basic script does do the job which I expect to do – find out the most expensive queries in SQL Server Box.