Read running, runnable, and suspended SQL Server requests, inspect task states, and compare scheduler queues before diagnosing CPU pressure.
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.
SET XACT_ABORT ON: Stopping Timeouts From Leaving Open Transactions
Use SET XACT_ABORT ON to prevent client timeouts from leaving transactions and locks open, with TRY CATCH and a sleeping-session query.
SQL SERVER – Last Full Differential and Log Backup Finish Times
I check backup time separately for full, differential and log backups. One latest timestamp cannot describe the entire recovery chain.
SQL SERVER – Say No to DB Data Roles – SQL Security – Notes from the Field #022
Brian Kelley explains why he avoids the fixed DB data roles db_datareader and db_datawriter, and how they can compromise your server security.
LAG and LEAD: Comparing Each Row With the One Before It
Use LAG and LEAD for monthly comparisons, handle defaults and percent change, choose explicit frames, and detect status transitions.
MySQL – List User Defined Tables – Two Methods
There are different methods to list out user defined tables in MySQL. We will see two methods in this post.
Let us create the following tables in the database named Test







