Text & patterns
Scalar
to_hex()
Converts blob to VARCHAR using hexadecimal encoding.
Alias of hex()
Arguments & returns
7 overloadsto_hex(blob)
Scalar
| Overload link | blob |
Returns |
|---|---|---|
| #01 | BLOB |
VARCHAR |
to_hex(string)
Scalar
Converts the string to hexadecimal representation.
| Overload link | string |
Returns |
|---|---|---|
| #02 | VARCHAR |
VARCHAR |
to_hex(value)
Scalar
Converts the value to hexadecimal representation.
Example
2 more ↓Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.
More examples
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.
Catalog examples
SELECT
hex('\xAA\xBB'::BLOB);SELECT
hex('Hello');SELECT
hex(42);