A client kept truncating the transaction log because of a growing log file. I explain why that is risky and share two better options, starting with Simple recovery.
Percent of Total With SUM() OVER() in One Query
Calculate percent of total with SUM() OVER(), group and running shares, safe numeric division, and checks for zero totals.
REPLACE With COLLATE: Choose Case Matching Explicitly
REPLACE with COLLATE controls which substrings match. Preview case-dependent results before applying a text replacement policy.
SQL SERVER – What are Wait Types, Wait Stats and its Importance
What are wait types and wait stats, and why do they matter? A simple explanation of the three kinds of wait types, starting with resource waits.
Finding Misconfigurations With One Script
Finding misconfigurations With One Script checks SQL Server settings that deserve a review, with recommendations tied to workload and evidence.
Contained Database Users: Logins That Move With the Database
Use contained database users to move authentication with a database, inspect prerequisites, test connections, and review access ownership.






