POSITIVE

positive(expr)

Description

Returns the value of expr.

Parameters

  • expr: Numeric type (SMALLINT, TINYINT, INT, BIGINT, DECIMAL, DOUBLE, FLOAT)

Returns

The return type is the same as the parameter type.

Examples

> SELECT positive(1); 1