Umwandeln

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