|
inttohex()
The
Datatype Conversion Function
inttohex()
returns the platform specific hexadecimal value of a given number.
Syntax of the Datatype Conversion Function inttohex()
inttohex( integer_expression )
The parameter of the Datatype Conversion Function inttohex()
integer_expression
The parameter "integer_expression" is a placeholder for an integer number which shall be converted into platform dependent hexadecimal value. The return value will be displayed without the prefix"0x".
Example for the Datatype Conversion Function inttohex()
select inttohex(8000)
go
-----
00001F40
See also:
ASE T-SQL - Aggregate Functions, biginttohex(), bintostr(), cast(), convert(), Datatype Conversion Functions, explicit conversion, hextobigint(), hextoint(), implicit conversions.
|