Global variables in SQL Server start with "@@". The scope of global variables is for the connection session.
Here are some that I've bothered to take notes for:
If an error occurs while statements are executing, this variable will change from "0" to an error number. This is useful in transactions.
This variable is used to get the ID last generated:
This variable returns the number of rows affected by the last statement.
This variable is used in transactions:
Page Modified: (Hand noted: 2007-10-12 21:53:51Z) (Auto noted: 2007-11-17 06:44:30Z)