I want to get the MD5 Hash of a string value in SQL Server 2005. I do this with the following command:
SELECT HashBytes(\'MD5\', \'HelloWorld\')
SELECT CONVERT(NVARCHAR(32),HashBytes('MD5', 'Hello World'),2)