Returns the platform-independent 8 byte hexadecimal equivalent of the specified integer.
biginttohex (integer_expression)
is the integer value to be converted to a hexadecimal string.
Converts the big integer -9223372036854775808 to a hexadecimal string:
1> select biginttohex(-9223372036854775808) 2> go ---------------- 8000000000000000
biginttohex, a datatype conversion function, returns the platform-independent hexadecimal equivalent of an integer, without a “0x” prefix.
Use the biginttohex function for platform-independent conversions of integers to hexadecimal strings. biginttohex accepts any expression that evaluates to a bigint. It always returns the same hexadecimal equivalent for a given expression, regardless of the platform on which it is executed.
Functions convert, hextobigint, hextoint, inttohex