Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 5fcf7bf

Browse files
authored
Merge pull request #5358 from way0utwest/patch-31
Typo correction and additional warning
2 parents 89fd21c + db5fbea commit 5fcf7bf

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +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 not be used in views.
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.
3231
3332
The following script creates a small test table and populates it with 26 rows. The script uses a variable to do three things:
3433

0 commit comments

Comments
 (0)