biginttohex

Description

Returns the platform-independent 8 byte hexadecimal equivalent of the specified integer.

Syntax

biginttohex (integer_expression)

Parameters

integer_expression

is the integer value to be converted to a hexadecimal string.

Examples

Example 1

Converts the big integer -9223372036854775808 to a hexadecimal string:

1> select biginttohex(-9223372036854775808)
2> go
----------------
8000000000000000

Usage

See also

Functions convert, hextobigint, hextoint, inttohex