8.2.20. SIGN()

Available in

DSQL, PSQL

Possible name conflict

YES → Read details

Syntax

  1. SIGN (number)
Table 116. SIGN Function Parameter
ParameterDescription

number

An expression of a numeric type

Result type

SMALLINT

Description

Returns the sign of the argument: -1, 0 or 1.