Citation :
create or replace procedure myproc
(phone_no in out varchar2)
is begin phone_no:='+33 '||substr(phone_no,2,1)||'-'||substr(phone_no,3,2)||'-'||substr(phone_no,5,2)||'-'||substr(phone_no,7,2)||'-'||substr(phone_no,9,2);
DBMS_OUTPUT.put_line(phone_no);
end myproc;
|