github.com/matrixorigin/matrixone@v1.2.0/test/distributed/cases/function/func_hex.result (about) 1 SELECT hex(NULL); 2 hex(null) 3 null 4 SELECT hex(0); 5 hex(0) 6 0 7 SELECT hex(9223372036854775807); 8 hex(9223372036854775807) 9 7FFFFFFFFFFFFFFF 10 SELECT hex(-255); 11 hex(-255) 12 FFFFFFFFFFFFFF01 13 SELECT hex("你好。"); 14 hex(你好。) 15 e4bda0e5a5bde38082 16 SELECT hex("おはようございます"); 17 hex(おはようございます) 18 e3818ae381afe38288e38186e38194e38196e38184e381bee38199 19 SELECT hex("-255"); 20 hex(-255) 21 2d323535 22 SELECT hex(0x62); 23 hex(0x62) 24 62 25 SELECT hex(b'1101100'); 26 hex(0b1101100) 27 6c