Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 391 Bytes

File metadata and controls

20 lines (14 loc) · 391 Bytes
description
Returns a hexadecimal string for the given binary value.

TO_HEX

Syntax

TO_HEX(in binary) → string

  • in: A binary value

Examples

{% code title="TO_HEX example" %}

SELECT to_hex(binary_string('hello'))
-- 68656C6C6F

{% endcode %}