Mega Code Archive

 
Categories / MSSQL Tutorial / Transact SQL
 

Syntax for Variable Assignment with the SELECT Statement

SELECT {@local_variable = expression } [,...n]