create table escape_test(str varchar2(100));
insert into escape_test values('hello
commit;
select * from escape_test;
would give the following results :
hello
select UTL_I18N.escape_reference(t.str,'utf8') from escape_test t;
would give :
hello <ravi> <vedala>
select UTL_I18N.unescape_reference(t.str) from escape_test t;
would give :
hello
Hope this helps !!
Long live "Tom Kyte".
Good Luck !!
r-a-v-i
No comments:
Post a Comment