SQL Server里@@开头的一般是系统函数(过去也曾称其为全局变量)
http://msdn.microsoft.com/en-us/library/ms187953.aspx
The names of some Transact-SQL system functions begin with two at signs (@@). Although in earlier versions of Microsoft SQL Server, the @@functions are referred to as global variables, they are not variables and do not have the same behaviors as variables. The @@functions are system functions, and their syntax usage follows the rules for functions.
搜索:
http://lmgtfy.com/?q=%22two+at+signs%22+stored+procedure
http://lmgtfy.com/?q=%22double+at+sign%22+stored+procedure
页:
[1]