Why in SQL Server does the Hashbytes command return different responses in the following codes?
Declare @Pass nvarchar
set @Pass='SampleHash'
Select HASHBYTES('MD5',@Pass)
Select HASHBYTES('MD5','SampleHash')
---------------------------------------
0x6F0AC8C187CEDB835A9BA373603BDA3F
0xC205AF5CE2048FF5C8C9A5B5ABDAF64E
---------------------------------------