Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

view Oracle dbms packages

Status
Not open for further replies.

fatchoy

MIS
Jul 19, 2001
31
0
0
JP
Hi

How can I view all the built in package of oracle database.
(by SQLPlus command or any oracle tool)

Pls advise
 
Hi

just use desc PackageName;

ex. desc dbms_output; gives you:

PROCEDURE DISABLE
PROCEDURE ENABLE
Argumentnavn Type Ind/Ud Standard?
------------------------------ ----------------------- ------ --------
BUFFER_SIZE NUMBER(38) IN DEFAULT
PROCEDURE GET_LINE
Argumentnavn Type Ind/Ud Standard?
------------------------------ ----------------------- ------ --------
LINE VARCHAR2 OUT
STATUS NUMBER(38) OUT
PROCEDURE GET_LINES
Argumentnavn Type Ind/Ud Standard?
------------------------------ ----------------------- ------ --------
LINES TABLE OF VARCHAR2(255) OUT
NUMLINES NUMBER(38) IN/OUT
PROCEDURE NEW_LINE
PROCEDURE PUT
Argumentnavn Type Ind/Ud Standard?
------------------------------ ----------------------- ------ --------
A VARCHAR2 IN
PROCEDURE PUT
Argumentnavn Type Ind/Ud Standard?
------------------------------ ----------------------- ------ --------
A NUMBER IN
PROCEDURE PUT_LINE
Argumentnavn Type Ind/Ud Standard?
------------------------------ ----------------------- ------ --------
A VARCHAR2 IN
PROCEDURE PUT_LINE
Argumentnavn Type Ind/Ud Standard?
------------------------------ ----------------------- ------ --------
A NUMBER IN
Regards
Allan
Icq: 346225948
! If you can't prove it - don't bother try to teach me !
 

Code:
select  object_name from all_objects
where object_type = 'PACKAGE' and
      object_name like 'DBMS%'

or

Code:
select  object_name from all_objects
where object_type = 'PACKAGE' and
      owner = 'SYS'

or use the tool, like TOAD.

Hope this helps
Grzegorz
 
hi -
try this sql - command :
select distinct object_type,status from all_objects where upper(OBJECT_TYPE) like 'PACKAG%' ;

greetings
george

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top