Read running, runnable, and suspended SQL Server requests, inspect task states, and compare scheduler queues before diagnosing CPU pressure.
Loan Amortization Schedules With a Recursive CTE
Why does the last loan payment leave a few cents behind? A recursive CTE, a rounding rule and a final reconciliation fix it.
Target Server Memory vs Total: Is SQL Server Still Growing
A big gap between target and total memory is often just room to grow. Here is how to check it before you call a server starved.
SQL SERVER – Finding Last Backup Time for All Database – Last Full, Differential and Log Backup – Optimized
An optimized script from SQL expert TheSQLGuru that shows the last backup time for all databases, covering the last full, differential and log backup.
Moving SSRS Reports to a New Server
Moving SSRS reports to a new server requires the ReportServer databases, encryption key, data source checks, and subscription rehearsal.
Connection Retry Logic for Cloud Databases
Connection retry logic handles transient cloud database faults through bounded backoff, safe transaction retries, and driver connection resiliency.
SQL SERVER – Drop All the Foreign Key Constraint in Database – Create All the Foreign Key Constraint in Database
Need to drop all the foreign key constraints in a database and create them again? Here is a script by SQL expert Swastik Mishra that does both.







