A few notes on SQL Server and T-SQL