views:

39

answers:

1

I am right now using this extended stored procedure in one of the test database on sql server 2008 and it works fine. I tried to do the same on a different sql server and it did not work on that. Then I got an explaination that the former was a 32 bit processor and latter was a 64 bit processor. Is there anyway to make use of this extended stored procedure on a 64-bit processor!!!

I need recompile version of xp_md5.dll for 64-bit.

Thanks in advance

+1  A: 

If you want an MD5 why not use 2008's built in HASHBYTES()?

DECLARE @IN  NVARCHAR(4000) = N'Hello'
DECLARE @OUT VARBINARY(16)

SET @OUT = HASHBYTES('MD5', @IN)

SELECT @OUT
Alex K.
hi alex,i can not use hashbytes because we are migrating the database from 32-bit to 64-bit.
I don't follow - why does that stop you using the hashbytes function? It ought to be a drop-in replacement for `xp_md5`. If you're using `xp_md5x` you might need to do a bit of work cutting up the string, though.
Rup