Mega Code Archive
Categories
/
MSSQL Tutorial
/
Transact SQL
Assign the function result to the variable
5> DECLARE @MyNumber Int, @MyResult Int 6> SET @MyNumber = 144 7> 8> SET @MyResult = SQRT(@MyNumber) 9> GO 1>