2 Answers
- Newest
- Most votes
- Most comments
0
Hi,
Check to verify if you have any objects with the same name as the schema. You might have an object named 'rdsadmin' in your database and when you are calling "rdsadmin.rdsadmin_util.grant_sys_object" the object name is being resolved so it doesn't try and evaluate rdsadmin as a schema name.
Run:
select OBJECT_TYPE,OWNER,OBJECT_NAME from all_objects where OBJECT_NAME='RDSADMIN';
And drop any OBJECT_NAME with the name 'RDSADMIN' that is not owned by 'RDSADMIN'.
0
Hi,
Look at answer by Alex Poole in this question: https://stackoverflow.com/questions/28706077/why-do-i-get-pls-00302-component-must-be-declared-when-it-exists
It may be similar to your issue.
Best,
Didier
Relevant content
- asked 2 years ago
- asked 2 years ago
- asked 5 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 months ago
Hi Kyle, Thank you very much for your prompt reply. I just ran the query you provided and this was the result:
I see both are owned by 'RDSADMIN'