Earlier this month, I had an opportunity to present on SQL Server Performance Tuning at the largest gathering of the SQL Server Professionals in Seattle. I was fortunate to present a day-long pre-conference training and 75 conference sessions. I was truly thankful to you when I received overwhelmingly positive feedback.
SQLBits 2019: Pre-Con – 21 Essential Scripts: Performance Tuning for EVERYONE
If you are going to go to SQLBits 2019, you want to come to my pre-con about 21 Essential Scripts: Performance Tuning for EVERYONE. This pre-con contains best of my material and goes beyond what you conventionally know about any topic. It is no-nonsense, direct to demonstration and fast-paced advanced class where we discuss 21 essential scripts for SQL Server Performance Tuning.
SQL SERVER – Results of Dynamic SQL Into A Variable
The other day during Comprehensive Database Performance Health Check, I was asked if there is a way to store results of dynamic SQL into a variable. This is a very popular question and let us see the answer to this question in this blog post.
SQL SERVER – Get List of the Logical and Physical Name of the Files in the Entire Database
One of the most popular questions I often receive is why do I like to do consultation – my answer is very simple – it gives me an opportunity to learn continuously learn new things from my clients. Here is a script which I have built during my recent Comprehensive Database Performance Health Check. To perform one of the performance tuning tasks we needed a list of all the logical and physical names for the files for every single database on the SQL Server Instance. Here is the script which can list all the physical and logical name of the files along with their type as well.
How to Trim TIME Part in DATETIME Values? – Interview Question of the Week #200
Question: How to Trim TIME Part in DATETIME Values?
SQL SERVER – Optimize Key Lookup by Creating Index with Include Columns
I love query tuning and performance tuning projects. In one of the recent Comprehensive Database Performance Health Check my client had a very interesting scenario where their queries were running pretty fast earlier but gradually started to run slow and eventually started to take over 10 minutes to execute. They reached out to me to tune their slow running query. While looking at the query execution plan, there is a big key lookup operation which was actually slowing down their query. I decided to create an index with include column on that table and resolve this issue.
Puzzle – Datatime to DateTime2 Conversation in SQL Server 2017
Earlier last week, I was presenting various questions about SQL Server 2017 at PASS in Seattle. However, during one of the session, I was fortunate to meet SQL Server Expert Christopher Savage. He shared a very interesting puzzle with me. I have been trying to solve the puzzle for a while, but I have no answer for it. Let us see the puzzle about DateTime2 Conversion in SQL Server 2017.




