A unary operator that returns the positive value of a numeric expression (a unary operator).
+numeric_expression
Returns the data type of numeric_expression, except that an unsigned tinyint expression is promoted to a smallint result.
This example sets a variable to a positive value.
DECLARE @MyNumber decimal(10,2)
SET @MyNumber = +123.45
Data Types | Operators |
Expressions |