IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 1 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Display Packages in SQL*Plus?
Does anybody know how to display package code in SQL*Plus? not just parameters. I need a way to bulk save all the package code to files. I can get them one at a time in Toad, but there are potentially hundreds. I believe I can get a list of the package names, but need a way to feed that list into something that can generate and capture code listings.
________________
oop.ismad.com
New Could probably use some variation of USER_SOURCE view
somthing along the lines of:

SELECT * FROM user_source WHERE type = 'PACKAGE';

Where the returned columns are: (OWNER, NAME, TYPE, LINE, TEXT)
New That's what we do here.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Re: Could probably use some variation of USER_SOURCE view
Good suggestion. Thanks. Unfortunately, it contains only a single procedure, no packages. My user role must hide the others from me or something.
________________
oop.ismad.com
New how about DBA_SOURCE?
Of course, that assumes you have dba rights.
New or ALL_SOURCE?
New So far the most promising. Thanx
________________
oop.ismad.com
     Display Packages in SQL*Plus? - (tablizer) - (6)
         Could probably use some variation of USER_SOURCE view - (ChrisR) - (5)
             That's what we do here. -NT - (admin)
             Re: Could probably use some variation of USER_SOURCE view - (tablizer) - (3)
                 how about DBA_SOURCE? - (ChrisR) - (2)
                     or ALL_SOURCE? -NT - (ChrisR) - (1)
                         So far the most promising. Thanx -NT - (tablizer)

It's like a nuclear blast in the basement.
63 ms