Wrapping PL/SQL Stored Programs with dbms_ddl.create_wrapped : dbms_ddl « System Packages « Oracle PL / SQL






Wrapping PL/SQL Stored Programs with dbms_ddl.create_wrapped

 

SQL> BEGIN
  2    dbms_ddl.create_wrapped(
  3      'CREATE OR REPLACE FUNCTION hello_world RETURN STRING AS '
  4      ||'BEGIN '
  5      ||'  RETURN ''Hello World!''; '
  6      ||'END;');
  7  END;
  8  /

PL/SQL procedure successfully completed.

   
  








Related examples in the same category