Text & patterns
Scalar
to_binary()
Converts the string to binary representation.
Reference: DuckDB 2.0.0
Alias of bin()
Arguments & returns
6 overloadsto_binary(string)
Scalar
| Overload link | string |
Returns |
|---|---|---|
| #01 | VARCHAR |
VARCHAR |
to_binary(value)
Scalar
Converts the value to binary representation.
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.