Declare Variables « Transact SQL « SQL Server / T-SQL






1.Declare a varchar variable
2.Declare a variable
3.Use declared variable in SQL statement
4.Declares a local variable (@intvar) and then assigns a value to the variable
5.Table Variables