The skills that make a DBA hard to replace combine tested recovery, careful performance work, useful automation, and clear communication.
Running Start Times: Build an Agenda With SQL
Running start times depend on the durations that precede each activity. Use ordered window sums while retaining full dates and explicit end boundaries.
SQL SERVER – Interesting Observation about Order of Resultset without ORDER BY
Two simple AdventureWorks queries return the same rows in a different order without ORDER BY. I explain why that order is never guaranteed.
Restoring a Backup From an Older SQL Server Version: What Changes
Restore a backup from an older SQL Server into a test database, read the upgrade messages, and check compatibility and integrity.
SQL SERVER – Simple Use of Cursor to Print All Stored Procedures of Database Including Schema
An improved script to print all stored procedures of database, now with schema names. Jerry Hung’s cursor uses sys.all_objects and sp_HelpText.
Keeping Personal Data Out of Test Databases
Keeping personal data out of test databases requires synthetic records or masking during refresh, plus verification before access.
SQL SERVER – Simple Use of Cursor to Print All Stored Procedures of Database
A simple cursor with sp_HelpText can print all stored procedures of your database. Switch results to text view with CTRL+T to read them easily.






