New procedures not working even after granting EXECUTE [message #474113] |
Thu, 02 September 2010 15:44 |
rkhatiwala
Messages: 178 Registered: April 2007
|
Senior Member |
|
|
oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
PL/SQL Release 11.1.0.6.0 - Production
"CORE 11.1.0.6.0 Production"
Hi,
I have created two new procedures. When I log in as ADMIN, I can execute these procedures.. but when i log in as WC_GUEST or WC_TECH, I cannot.. One of the procedure name is WCL_RPRTD_PARTS_REP_SEARCH, to which, I have given this:
grant execute on WCL_RPRTD_PARTS_REP_SEARCH to WC_GUEST,WC_TECH;
Also, I have changed the ROLE of ADMIN, to the same role as these two users and tried.. it works fine.
What else I should check ?
Thanks.
|
|
|
|
|
Re: New procedures not working even after granting EXECUTE [message #474205 is a reply to message #474113] |
Fri, 03 September 2010 08:58 |
rkhatiwala
Messages: 178 Registered: April 2007
|
Senior Member |
|
|
This is the error I get:
WCL_RPRTD_PARTS_REP_SEARCH: PROCEDURE DOESN'T EXIST
I logged in as user RKHATIWALA, which has a role of GUEST user, which can only execute the procedure.
By changing the role to ADMIN, I meant that , I changed the role from GUEST to ADMIN for user RKHATIWALA. and ADMIN has all the rights on that procedure.
Thanks.
|
|
|
|
|