bin()

Converts the string to binary representation.

Arguments & returns

6 overloads

bin(string)

Scalar
Overload link string Returns
#01 VARCHAR VARCHAR

bin(value)

Scalar

Converts the value to binary representation.

Overload link value Returns
#02 BIGINT VARCHAR
#03 BIGNUM VARCHAR
#04 HUGEINT VARCHAR
#05 UBIGINT VARCHAR
#06 UHUGEINT VARCHAR

Example

1 more ↓
bin example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example · Run to view results.

More examples

bin example 2
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example · Run to view results.