Extracting full DDL from

I need to generate the DDL for all packages in one schema. It has to be an executable file so it can be run with one command. SQL> @allpackage.sql Problems: select from dba_source... ; is lacking the final “/” and the beginning “CREATE OR REPLACE” Using DBMS_METADATA causes failures when the output is split across