Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: SQL to list a user's packages and its procedures
Jeremy wrote:
> In article <1165578369.936647.297080_at_73g2000cwn.googlegroups.com>, > sybrandb says...
>
> > That'll do fine thanks Sybrand. I wonder though.. is there away to > determine whether the object_name returned in this query is a function > or a procedure? I know the view doesn't contain that detail. > > regards
No because Sybrand's query answers the question you asked which was about packages. If you want that level of detail then you need to also query the OBJECT_NAME column and specifically, for functions, look for IN_OUT = OUT where POSITION=0.
And don't forget about overloading. You will likely want to separate overloads.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Fri Dec 08 2006 - 10:34:37 CST