Recently, I solved a huge performance problem for one of my clients by just adding the SET NOCOUNT inside the stored procedure.
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.
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.
SQL SERVER – List All the Nullable Columns in Database
Recently during the consulting engagement, I needed to create a query that Lists All the Nullable Columns in Database, which I am sharing.
SQL SERVER – APPROX_COUNT_DISTINCT – Not Always Efficient
After a lot of testing, I figured out that the newly introduced function is not always efficient. A newly-introduced function APPROX_COUNT_DISTINCT.
SQL SERVER – Row Mode and Memory Grant Feedback
One of the questions, which really caught my attention did this feature work with Row Mode like it does with Batch Mode. Let us discuss today.