Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: PL/SQL procedure or package owner ?

Re: PL/SQL procedure or package owner ?

From: RonR <ronr_at_my-deja.com>
Date: Thu, 13 Jan 2000 20:51:55 +0100
Message-ID: <01HW.B4A3EB0A000FEE9F0F86405C@mail.planet.nl>


[[ This message was both posted and mailed: see

   the 'To' and 'Newsgroups' headers for details. ]]

On Thu, 13 Jan 2000 12:55:27 +0100, Igor V. Podolsky wrote (in message <AAZqRVuy900_at_soft-review.kiev.ua>):

> Hi !
>
> Is there a way to determine a package (or procedure) owner from the package
> ?
> I need to write procedure that works by following way: it should always
> return it owner (it scheme name by other words).
> There is a built-in 'user' procedure but it returns name of user that called
> it, not owner name.
> Any suggestions ?

How about the callstack ? It has the names of the routine that called and also the schema that routine belongs to.

--
Ronald.



http://home.wxs.nl/~ronr/RonR.html
The best way to accellerate a computer 'running' windows is by gravitation. Received on Thu Jan 13 2000 - 13:51:55 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US