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

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

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -