BIN
Learn how to use the BIN math function in PlaidCloud Lakehouse. Returns the binary string representation of an integer - see syntax, examples, and output.
Returns the binary string representation of an integer.
Analyze Syntax
func.bin(<x>)
Analyze Examples
func.bin(10)
┌────────┐
│ '1010' │
└────────┘
SQL Syntax
BIN(<x>)
SQL Examples
SELECT BIN(10);
┌──────┐
│ 1010 │
└──────┘