Appearance
🎁Using Sail? Tell us your story and get free merch!
This is an unreleased version of Sail. Please visit here for the documentation of the latest stable version.
A binary literal is used to specify a byte sequence value.
X('hexdigit*'|"hexdigit*")
hexdigit is a case-insensitive hexadecimal number (0-9, a-f, or A-F).
hexdigit
0
9
a
f
A
F
SELECT X'123456' AS col; -- +----------+ -- | col| -- +----------+ -- |[12 34 56]| -- +----------+