NULLIF text comparisons can remove a matching value. Select the matching rule explicitly and preserve the first expression’s return contract.
End-of-Day Balances From a Transaction Table
A transaction table stores movements, not balances. Collapse each day, run a total, fill the quiet days and dodge the midnight trap.
SQL SERVER – Pad Right Side of Number with 0 – Fixed Width Number Display
A reader needed a fixed width number display, like 1 shown as 0000001. SQL Server has no ready-made function, but a simple string trick does it.
SQLAuthority News – Author Visit – Complete Wrapup of Microsoft MVP Summit 2009 Trip
Back home in Ahmedabad after the Microsoft MVP Summit trip: 10 days away, 5 packed business days, and links to all my daily posts and photos.
SQLAuthority News – Author Visit – South Asian MVPs at Global MVP Summit 2009
Many South Asian MVPs met at Global MVP Summit 2009. We toured Seattle, shared tips and decided to start guest blogging on each other’s blogs.
SQLAuthority News – Author Visit – Tech User Group Meeting, Markham, Canada and Toronto CA Solutions
A summary of my two meetings near Toronto: the new Tech User Group of Markham led by Steve Jagadishan, and TorontoCASolutions. Lots of database talk.
Storing Images in SQL Server: varbinary(max) or FILESTREAM
Pictures in a database are easy to insert and easy to regret. Here is where the bytes go and how to choose a storage method.







