OCT

Learn how to use the OCT string function in PlaidCloud Lakehouse. Returns a string representation of the octal value of N. Includes syntax and examples.

Returns a string representation of the octal value of N.

Analyze Syntax

func.oct(<expr>)

Analyze Examples

func.oct(12)
┌─────────────────┐
 func.oct(12)    
├─────────────────┤
 014             
└─────────────────┘

SQL Syntax

OCT(<expr>)

SQL Examples

SELECT OCT(12);
┌─────────┐
 OCT(12) 
├─────────┤
 014     
└─────────┘