SQLServer int to base16

select convert(varbinary, 241)
result:
0x000000F1
原文地址:https://www.cnblogs.com/si812cn/p/1208566.html