A reader needed to convert seconds to Hour : Minute : Seconds format for a web page report. Here is a simple T-SQL script that does it.
SQL SERVER – Validating If Date is Last Day of the Year, Month or Day
A reader asked how to check if a date is the last day of the year, month or week. There is no built-in function, so here is the one I wrote.
SQL SERVER – Script to Find First Day of Current Month
Michael Usov suggested a quick way to find the first day of current month while keeping the DATETIME datatype, with or without the time part.
Making Online Learning Stick
Making online learning stick takes practice beside each video, short notes, spaced review, and one finished project that uses the skill.
SQL SERVER – Finding Out What Changed in a Deleted Database – Notes from the Field #041
What changed in a database that no longer exists? Brian Kelley shares a real story on finding out what changed in a deleted database.
Finding Databases Owned by Personal Logins and Fixing Them
Find databases owned by personal logins, review an approved replacement owner, and test dbo mapping and execution-context effects.






