Oracle中hex和raw的相互转换

可以参考以下语句:

select hextoraw(rawtohex('你好')) from dual

select utl_raw.cast_to_varchar2(hextoraw('E4BDA0E5A5BD')) from dual

以上。

猜你喜欢

转载自www.cnblogs.com/vanwoos/p/10494208.html