Global Variables (Level 4)

From SQL Server Setup Help

SQL Server Setup Help

Global Variables (Level 4)

Pre-SQL Server 7.0 SQL Server 7.0
Global variables were system-supplied, predeclared variables that were distinguished from local variables by having two at symbols (@@) preceding their names. Transact-SQL global variables are a form of function and are now referred to as functions.

For more information, see Functions.