Variables (Transact-SQL)
SQL Server provides the following statements to declare and set local variables.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
SQL Server provides the following statements to declare and set local variables.