Home
SQL Server / T-SQL
Aggregate Functions
Analytical Functions
Constraints
Cursor
Data Set
Data Type
Database
Date Timezone
Index
Insert Delete Update
Math Functions
Select Query
Sequence
Store Procedure Function
String Functions
Subquery
System
Table
Table Joins
Transact SQL
Transaction
Trigger
View
XML
Variable Scope « Transact SQL « SQL Server / T-SQL
SQL Server / T-SQL
Transact SQL
Variable Scope
1.
Using Variables with Functions
2.
Local variable must be defined using the DECLARE statement