Umwandeln
select cast(hashbytes('md5','foo') as uniqueidentifier)
Wide-eyed Worm
select cast(hashbytes('md5','foo') as uniqueidentifier)