DATEPART and DATENAME accept a string that holds only a time and fill in the missing date as January 1, 1900. This post keeps the quiz, runs every query on SQL Server 2025 and explains which of the five bonus queries work and why.
SQL SERVER – Script to find SQL Startup Account using WMIC
A friend’s passing remark led me to a new way to find the SQL Server startup account using WMIC, the WMI command line tool. Here is the script.
SQL SERVER – Using MaxTransferSize parameter with SQL Server Backups
A DBA asked whether backups on new EMC storage should use a 256 KB transfer size. Here is what I learned about the MaxTransferSize parameter.
Interview Question of the Week #013 – Stored Procedure and Its Advantages – How to Create Stored Procedure
Learn how to create stored procedure code with parameters and NOCOUNT, then review security, plan reuse, and parameter-sensitive plans.
SQL SERVER – System procedures to know SQL Server Version
There are many ways to know SQL Server version, but did you know two system procedures, sp_server_info and xp_msver, also return it?
SQL SERVER – Find the Growth Size for All files in All Databases
Auto growth should be a safety net, not a routine. Here is a script to find the growth size for all files in all databases and spot risky 10% settings.
SQL SERVER – Mistake to Avoid: Duplicate and Overlapping Indexes – Notes from the Field #073
Indexes do not always improve performance. Kathi Kellenberger explains why duplicate and overlapping indexes are a mistake to avoid.





