Database & utility
Scalar
to_binary()
Converts the value to binary representation
Reference: DuckDB 1.3.2
Alias of bin()
Arguments & returns
6 overloadsto_binary(value)
Scalar
Example
1 more ↓Haybarn WASM 2.0.0-rc12 · In your browser
Engine example · Run to view results.
More examples
Haybarn WASM 2.0.0-rc12 · In your browser
Engine example · Run to view results.
Catalog examples
SELECT
bin(42);