Home » SQL & PL/SQL » SQL & PL/SQL » dbms - packages
dbms - packages [message #1170] Mon, 08 April 2002 04:15 Go to next message
ARANGASWAMY.V.
Messages: 29
Registered: April 2002
Junior Member
If we want to see the contents of the objects such tables,views, etc. We use 'DESCRIBE' command. Is there any such command to see the contents of the packages.
Re: dbms - packages [message #1172 is a reply to message #1170] Mon, 08 April 2002 06:08 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
select text from dba_source where name ='name_of_package'

---
u may use user_source also...
wrap wthis sql in an procedure...thats it!
Re: dbms - packages [message #1181 is a reply to message #1170] Tue, 09 April 2002 04:17 Go to previous message
shri
Messages: 15
Registered: November 2001
Junior Member
try out this

select Text from user_source where Name ='Package_name'

this is give you the source code of that package.

or even try out with user_objects.
Previous Topic: Physical date
Next Topic: sql help for(3 condition st)
Goto Forum:
  


Current Time: Thu Apr 25 15:26:21 CDT 2024