Convertir SQL Server Guid en Varbinary
select cast(hashbytes('md5','foo') as uniqueidentifier)
Wide-eyed Worm
select cast(hashbytes('md5','foo') as uniqueidentifier)