Enforce case-insensitive unique user names in a case-sensitive database using an indexed computed column with an explicit collation.
SQL SERVER – Modern Explicit JOIN Syntax – A Brief Note
Over time, SQL has evolved and offers two distinct styles for performing JOIN operations: the old-style comma-separated join and the more modern explicit JOIN syntax.
SQL SERVER – Stripping HTML Tags from Text
In this blog post, we’ll explore a method for stripping these HTML tags from your text data using SQL Server. Let us explore the post.
Repeatable Test Data With a Fixed Random Seed
Generate repeatable test data with a fixed RAND seed or row-number hashes, then verify identical names and amounts across runs.
SQL SERVER – Query Store Feature for Secondary Replicas
SQL Server 2022 extends the Query Store feature for secondary replicas. Here is how to enable it and what to watch before using it.
PS1 Cannot Be Loaded Because Running Scripts Is Disabled
PS1 cannot be loaded because PowerShell’s execution policy blocks scripts by default. You can set RemoteSigned, bypass the policy for one session, or choose Unrestricted as a last resort. Here is each option, and the scope to check.
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.







