FUNCTION
fVarBinToHex
Returns hexadecimal string of varbinary input
The input is scanned converting nibbles to hex characters
select dbo.fVarBinToHex(0x4532ae1245)
Input and output parameters
name
type
length
inout
pnum
@varBinary
varbinary
4000
input
1
varchar
8000
input
0