Skip to content

Returns the binary string representation of an integer.

func.bin(<x>)
func.bin(10)
┌────────┐
│ '1010' │
└────────┘
BIN(<x>)
SELECT BIN(10);
┌──────┐
│ 1010 │
└──────┘