To continue reading for free, register below or login
To read more you must become a member of SearchOracle.com
');
// -->

There is no option on the export utility to export just a stored procedure. If you perform a schema-level export (OWNER parameter) or a FULL export, then you will get stored procedures, but you will also get lots more. If you just want to re-create your stored procedure elsewhere, then I suggest using the DBMS_METADATA package to generate the CREATE command for you, similar to the following:
SELECT dbms_metadata.get_ddl('PROCEDURE','SCOTT','PROC1') FROM dual;
The above will generate the CREATE PROCEDURE command for SCOTT's PROC1 procedure.
|