oracle - procedure which can pull out all the details of custom packages as per the username in the database -


i need prepare procedure can pull out custom packages/triggers/functions/procedures , source code of custom packages/triggers/functions/procedures per username in database.

use this:

select dbms_metadata.get_ddl (object_type, object_name, owner)  dba_objects owner=  <user> , object_type in ('package','package body','trigger','function','procedure'); 

this return clob data type. write file , give source code.


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

php - Improving script execution time -

How to provide Authorization & Authentication using Asp.net, C#? -