I recently asked on Twitter an exciting question about OR vs IN. While I got lots of good answers, there were an equal amount of wrong answers.
SQL SERVER – The Comprehensive Guide to STATISTICS_NORECOMPUTE
One such feature that plays a pivotal role in managing your SQL Server databases’ performance is the STATISTICS_NORECOMPUTE option.
SQL SERVER – Resolving the “ps1 cannot be loaded because running scripts is disabled” Error
When with PowerShell scripts, occasionally run into an error saying “ps1 cannot be loaded because running scripts is disabled on this system”.
Blocking Alert: A T-SQL Check for Sessions Blocked Too Long
Short blocking is normal. This check flags lock waits past a threshold and walks each chain to the session at the front of the line.
SQL SERVER – Understanding MAX_DURATION in Index Creation
One particular option that can be specified during the index creation is MAX_DURATION. This blog post will explore this option.
SQL SERVER – How to Move a Table into a Schema in T-SQL
If you’ve ever wondered how to move a table into a schema in T-SQL, this post is for you. One ALTER SCHEMA TRANSFER command does the job.







