Skip to content

Commit db5fbea

Browse files
authored
public repo
1 parent 717a044 commit db5fbea

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

docs/t-sql/language-elements/variables-transact-sql.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,9 @@ A Transact-SQL local variable is an object that can hold a single data value of
2525
* To save a data value to be returned by a stored procedure return code or function return value.
2626

2727
> [!NOTE]
28-
> The names of some Transact-SQL system functions begin with two *at* signs (\@\@). Although in earlier versions of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], 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.
29-
30-
> [!NOTE]
31-
> Variables can notbe used in views.
32-
33-
> [!NOTE]
34-
> Changes to variables are not affected by the rollback of a transaction.
28+
> - The names of some Transact-SQL system functions begin with two *at* signs (\@\@). Although in earlier versions of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], the \@\@functions are referred to as global variables, \@\@functions aren't variables, and they don't have the same behaviors as variables. The \@\@functions are system functions, and their syntax usage follows the rules for functions.
29+
> - You can't use variables in a view.
30+
> - Changes to variables aren't affected by the rollback of a transaction.
3531
3632
The following script creates a small test table and populates it with 26 rows. The script uses a variable to do three things:
3733

0 commit comments

Comments
 (0)