Oracle information about package , function , procedure


To find out information about package , function , procedure etc :-

SQL> set long 100000
SQL> select TEXT from  dba_source where name = '<package_name>';
SQL> SELECT REFERENCED_NAME,REFERENCED_OWNER,REFERENCED_TYPE,DEPENDENCY_TYPE FROM DBA_DEPENDENCIES WHERE NAME= '<package_name>';

SQL> SELECT REFERENCED_NAME,REFERENCED_OWNER,REFERENCED_TYPE,DEPENDENCY_TYPE FROM DBA_DEPENDENCIES WHERE NAME= '<package_name>' AND REFERENCED_TYPE IN ('TABLE','SYNONYM');

Comments

Popular posts from this blog

finding fragmentation at table level and tablespace level in Oracle and steps to remove them

Oracle Custom Procedure for defragmentation Partition tables and their associated index and move non partitioned table

Installing DBMS_JAVA package in Oracle and calling UTL_DBWS web services through Oracle database