Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PLS-00201: identifier 'pkgMyPackage.MyFunction' must be declared

561978Sep 26 2007 — edited Oct 1 2007
I'm trying to design access to database objects in oracle using a .NET app. I've set up a users who are assigned to a role - MyRole - which is given execute rights on pkgMyPackage, however when I try and access a procedure or function in the package as a user assigned MyRole I get the error detailed above - I saw one posting and it mentioned that if privilages are granted only via a role, then this is expected and documented behavior. How does one use roles to control access to data / objects or am I barking up the wrong tree?

Any help much appreciated by this newbie
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2007
Added on Sep 26 2007
6 comments
938 views