The scope of a variable is the range of Transact-SQL statements that can reference the variable.

  • 变量的作用域就是可以引用该变量的Transact-SQL语句的范围。
目录 查词历史