Hi,
I have two functions that converts between int and hex, perhaps you can use them.
Create function CRM5.udf_HexToInt(@input varchar(15))
Returns bigint
AS
BEGIN
Declare @x varchar
Declare @pos int
Declare @y bigint
Declare @z bigint
Declare @Result bigint
Set @result...