_覓 | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁 |
FrontPage › Binary(HEX)豌企ゼ覓語企願鍵
|
|
[edit]
1 2000, 2005 覯 #create table #bin(b binary(1)) insert #bin values(0xff) insert #bin values(0x0f) select master.dbo.fn_varbintohexstr(b) binarytostr from #bin [edit]
2 2008 覯 #declare @chr varchar(4) = 'yasi'; declare @bin varbinary(4) = convert(varbinary(20), @chr); select @bin bin , CONVERT(varchar(4), @bin, 0) style0 , CONVERT(varchar(4), @bin, 1) style1 , CONVERT(varchar(4), @bin, 2) sytel2 /* bin style0 style1 sytel2 ---------- ------ ------ ------ 0x79617369 yasi 0x79 7961 谿瑚: sys.fn_varbintohexstr */
鏤
|
蟇願 企´ 覦讌 螻給 蠍一旧 伎. (る襯企 る豺) |