sqlite3 select语句将blob数据用16进制字符串展示

select hex(foo) from test;

原文地址:https://www.cnblogs.com/sherlock-merlin/p/13261956.html