Guest User

Untitled

a guest
Dec 15th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PL/SQL 0.37 KB | None | 0 0
  1.  
  2. DECLARE
  3.  rawval RAW(32767);
  4. BEGIN
  5.   //Varchar2bol csinalj RAW-ot
  6.   rawval := UTL_RAW.cast_to_raw('You random Varchar2 value goes here');
  7.   DBMS_OUTPUT.put_line(rawval);
  8.   //Itt encode
  9.   rawval := UTL_ENCODE.base64_encode(rawval);
  10.   DBMS_OUTPUT.put_line(rawval);
  11.    
  12.   //Igen van DECODE IS
  13.   rawval:= UTL_ENCODE.base64_decode(r);
  14.   DBMS_OUTPUT.put_line(r);
  15. END;
  16. /
Add Comment
Please, Sign In to add comment