Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Executing stored procedure from diff user
Hi List,
Could you please help me out to resolve this issue?
Basically i have created one stored procedure(show_space) in
SYSTEM schema, then granted execute rights to PUBLIC and created
public synonym.
When i conenct as diff user(MUT) I am not able to execute the
procedure. Any help would be really appreciated.
TIA
SQL> connect system/manager_at_psrsndb2
Connected.
SQL> @D:\share\oracle\Asktom\show_space8i.sql
51 /
Procedure created.
SQL> grant execute on show_space to public; Grant succeeded.
SQL> create public synonym show_space for show_space; Synonym created.
SQL> connect mut/mut_at_psrsndb2
Connected.
SQL> execute show_space('RW_RFX_HEADER'); BEGIN show_space('RW_RFX_HEADER'); END;
*
ERROR at line 1:
ORA-00942: table or view does not exist ORA-06512: at "SYS.DBMS_SPACE", line 55 ORA-06512: at "SYSTEM.SHOW_SPACE", line 22 ORA-06512: at line 1
SQL> desc show_space
PROCEDURE show_space
Argument Name Type In/OutDefault?
Argument Name Type In/OutDefault?
![]() |
![]() |