Re: How a user can execute stored procedure of some other user.

From: Jurij Modic <jmodic_at_src.si>
Date: Thu, 10 Sep 1998 13:06:31 GMT
Message-ID: <35f7cdfc.24777922_at_news.siol.net>


[Quoted] On Thu, 10 Sep 1998 13:36:53 +0500, Irfan Lodhi <ilodhi_at_lums.edu.pk> wrote:

>Hi all, Would anybody like to let me know that:
>
>How a user (user-1) can execute a stored procedure which is created by
>some other user (user-2), while the other user (user-2) has already
>given the Object Privilege 'EXECUTE' of that stored procedure to user-1.

Unless there is a synonym for this procedure, user-2 has to reference the full name of the procedure - that is OWNER_NAME.PROCEDURE_NAME. In your example, user_2 has to reference the user_1's procedure like:

USER_1.PROCEDURE_NAME
>I'll be more than thankful to if somebody guide me in this regard. One
>other possibilitiy is to make synonyms for the stored procedures.
>
>Regards,
>Irfan Lodhi

HTH,

--
Jurij Modic <jmodic_at_src.si>
Certified Oracle7 DBA (OCP)
================================================
The above opinions are mine and do not represent
any official standpoints of my employer
Received on Thu Sep 10 1998 - 15:06:31 CEST

Original text of this message