SQL Server 2008
How to calculate last (previous) date periods?
How to upsert with the MERGE statement?
How to create date series with multiple-value assignment?
How to design for stored procedure missing (NULL) parameter?
How to measure stored procedure execution time?
How to combine detail data with GROUP BY aggregate?
How to list all columns with extended properties?
How to calculate running total fast?