Konversi GUID SQL Server ke Varbinary

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