How do you find the Service Account for SQL Server and SQL Server Agent? Here are three ways: Configuration Manager, services.msc, and a T-SQL query.
SQL SERVER – Save Auto Recover Information – SSMS
SSMS can save your unsaved queries if it crashes, yet few people know the setting. Here is where to find Auto Recover under Tools, Options and why it matters.
Tally Table: Replacing WHILE Loops With a Set of Numbers
Use a tally table or GENERATE_SERIES to replace repeated date, character, and missing-number loops with ordered sets of rows.
Names That Differ Only by Case: Finding Them With COLLATE
A case-insensitive target can turn two rows into one. This walk-through finds the colliding names first, including the ones with trailing spaces.
Local Variable Estimates: Why the Density Vector Wins
Understand local variable estimates with skewed data, density calculations, parameter comparisons, and targeted OPTION RECOMPILE tests.





