2011-06-21 53 views

回答

7
declare @B varbinary(max) = 0x63C34D6BCAD555EB64BF7E848D02C376 
declare @C varchar(35) 

set @C = stuff(upper(sys.fn_varbintohexstr(@B)), 1, 2, '') 

select @C 

結果:

63C34D6BCAD555EB64BF7E848D02C376