SQL SERVER – Inserting sp_who2 Into a Table
Earlier this week I blogged about SQL SERVER – Representing sp_who2 with DMVs and lots of people asked me that I should also have included the script for method 1 discussed in the blog post. Let us...
View ArticleSQL SERVER – Table Variables, Temp Tables and Parallel Queries
During the recent Comprehensive Database Performance Health Check I heard a very interesting comment from my client and that made me write this blog post. Their point was about table variables, temp...
View Article11 Essential Tips for Avoiding Common SQL Server Performance Tuning Mistakes
SQL Server is a powerful database management system, but it can also be complex and prone to mistakes. Whether you’re a seasoned database administrator or a beginner just getting started, it’s...
View ArticleSQL SERVER – Steps to Identify with Odd and Even Rows
Sometimes, when working with SQL, you might need to do something special with odd and even rows in your table. This can be a bit tricky. This blog post will look at two simple ways to do this. Approach...
View ArticleSQL SERVER – Performance: Optimizing High Volume OR Conditions through TempTable
Following our previous discussion on the performance difference between using “OR” and “IN” in SQL queries – link to the previous article, we will dive a bit deeper into the topic. In this edition, we...
View Article