<expression>) of type INTEGER or BIGINT to its equivalent octal representation.
Syntax
Parameters
Return Type
TEXT
- Returns
NULLif input isNULL
Remarks
The function returns the octal representation of the input number as a text string. Negative numbers are displayed as the octal representation of their binary two’s complement form. Leading zeros are omitted, but the output is at least one digit long.Example
The following examples convert integer values to their octal representations:Rows: 1Execution time: 5.01ms
Rows: 1Execution time: 5.19ms
Rows: 1Execution time: 5.25ms
Rows: 1Execution time: 5.37ms