Returns a string containing the hexadecimal equivalent of an integer.
INTTOHEX( integer-expression )
integer-expression The integer to be converted to hexadecimal.
SQL/2003 Transact-SQL extension.
The following statement returns the value 0000009c.
SELECT INTTOHEX( 156 );