2010-08-24 74 views

回答

5

基本上你將需要在SQL Server中使用CAST -

DECLARE @program_guid uniqueidentifier, @program_binary binary(16) 
-- 
SELECT @program_guid = '327EBEA7-3D4E-473A-8D72-7CB68AB51F73' 
SELECT @program_binary = CAST(@program_guid AS binary(16))