Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DECLARE
- rawval RAW(32767);
- BEGIN
- //Varchar2bol csinalj RAW-ot
- rawval := UTL_RAW.cast_to_raw('You random Varchar2 value goes here');
- DBMS_OUTPUT.put_line(rawval);
- //Itt encode
- rawval := UTL_ENCODE.base64_encode(rawval);
- DBMS_OUTPUT.put_line(rawval);
- //Igen van DECODE IS
- rawval:= UTL_ENCODE.base64_decode(r);
- DBMS_OUTPUT.put_line(r);
- END;
- /
Add Comment
Please, Sign In to add comment