I consider myself fortunate that I receive a follow-up question from my blog posts. Let’s discuss Parameter Sniffing and OPTIMIZE FOR UNKNOWN.
SQL SERVER – Parameter Sniffing and Local Variable in SP
The question I had received was about Parameter Sniffing and Local Variable in Stored Procedure. Let us learn about it in this blog post.
SQL SERVER – Parameter Sniffing Simplest Example
Today we will see a very simple example of the Parameter Sniffing. Let us see a very simple example of the parameter sniffing.
SQL SERVER – SET NOCOUNT – Impact on Stored Procedure Performance
Recently, I solved a huge performance problem for one of my clients by just adding the SET NOCOUNT inside the stored procedure.
SQL SERVER – Copy Database Without Statistics Query Store
An earlier blog post about Clone Database Using DBCC CLONEDATABASE. The question is how to Copy Database Without Statistics and Query Store.
SQLBits Training Day – SQL Server Performance Tuning Real-World Scenarios
I will be presenting a day-long training day at SQLbits Pre-Con on 31 March 2019 London on the topic SQL Server Performance Tuning Real-World Scenarios.
SQL SERVER – Clone Database Using DBCC CLONEDATABASE
The client had a requirement that we can’t run any query SELECT queries on the production system. Clone Database Using DBCC CLONEDATABASE.
Why Execution Plan Operator Read More Rows Than Available? – Interview Question of the Week #255
Question: Why Execution Plan Operator Read More Rows Than Available?
Answer: Statistics.
Now let us learn detailed answer in this blog post.
SQL SERVER – Query Without Join Showing Query Plan With Join
This question often keeps on coming in my consulting engagements. Let us quickly see the answer about Query Without Join Showing Query Plan With Join.
SQL SERVER – Persisting Sample Percentage for Statistics – PERSIST_SAMPLE_PERCENT
Recently I got the opportunity to work on a very new feature of Persisting Sample Percentage for Statistics. Let us learn today.










