Random collection of MSSQL tricks