The complete downloadable list of my 31-day series of SQL Server interview questions and answers, with a free PDF for offline review at the end.
SQL SERVER – Find Details for Statistics of Whole Database
Need statistics of whole database in one view? My script uses DMVs instead of the deprecated sp_helpstats and shows each stat, column and last update.
CROSS JOIN: Duplicate Inputs Multiply the Result
CROSS JOIN multiplies row counts, including repeated labels. Keep source identifiers and grouped pair counts visible while checking result grain.
SQL SERVER – Puzzle Involving NULL – Resolve – Error – Operand data type void type is invalid for sum operator
SELECT SUM over a lone NULL throws Msg 8117: Operand data type void type is invalid for sum operator. Here is why it happens and how ISNULL fixes it.
SQL SERVER – T-SQL Scripts to Find Maximum between Two Numbers
A SQL enthusiast at the airport asked for a simple way to find maximum between two numbers. Here is his clever ABS formula and my CASE version.
Tabular Models for the SQL Developer
Tabular models for the SQL developer add relationships, measures, security, and reusable semantics above SQL tables; learn when a view is enough.
Summary Tables: Keeping Pre-Aggregated Totals Current
Keep summary tables current with changed-day rebuilds, handle late arrivals and deletes, and reconcile stored totals against detail.
SQLAuthority News – Ahmedabad Tech Ed On Road June 11, 2011 – A Grand Success of Community Tech Days
Over 500 people packed the Ahmedabad Tech Ed On Road on June 11, 2011, so we found 150 more chairs. Here is how this Community Tech Days went.
SQL SERVER – SSAS – Multidimensional Space Terms and Explanation
At a Tech Ed On Road session I was asked to explain multidimensional space in simple words. Here are dimension, member, value, attribute and size.










