DATEFROMPARTS avoids ambiguous text assembly. Preserve year, month and day inputs while separating missing components from invalid calendar dates.
SQL SERVER – Mirrored Backup and Restore and Split File Backup
From a real project: conventional backup and restore, split file backup when a disk runs short of space, mirror file backup, and the FORMAT clause.
EXCEPT: Compare Distinct Sets Including NULL
EXCEPT returns distinct left-side rows absent on the right. Compare direction, duplicates and NULL equality using complete small result sets.
SQLAuthority News – Launch of Gandhinagar SQL Server User Group
The launch of Gandhinagar SQL Server User Group on March 27, 2009 drew over 50 database enthusiasts, and we even ran out of chairs. Register at the portal.
What Is a Database Backup? Full, Differential, Log
A database backup comes in three kinds and they work together. Measured sizes for full, differential and log, why the recovery model decides everything, and the restore order that cannot be improvised.
FIFO Inventory Costing in T-SQL: Matching Sales to Purchase Lots
Which purchase lot paid for which sale? Two running totals and one join answer it, with no cursor and no loop.







