Steps to replicate this exception
1. Create a public synonym for a table (which is not created in the schema)
2. Issue a commit;
3. Try to Grant to the table TEMP_TABLE
GRANT DELETE, INSERT, SELECT, UPDATE ON THIS_SCHEMA.TEMP_TABLE TO READONLY_SCHEMA;
The above query will report missing table in the scehma.
4. Now execute the select table query.
SELECT * FROM temp_table;
Reports
ORA-01775 looping chain of synonyms
To fix the issue:
Just create the table "TEMP_TABLE" using the create table query.
1. Create a public synonym for a table (which is not created in the schema)
CREATE OR REPLACE PUBLIC SYNONYM TEMP_TABLE FOR THIS_SCHEMA.TEMP_TABLE;
3. Try to Grant to the table TEMP_TABLE
GRANT DELETE, INSERT, SELECT, UPDATE ON THIS_SCHEMA.TEMP_TABLE TO READONLY_SCHEMA;
The above query will report missing table in the scehma.
4. Now execute the select table query.
SELECT * FROM temp_table;
Reports
ORA-01775 looping chain of synonyms
To fix the issue:
Just create the table "TEMP_TABLE" using the create table query.
No comments:
Post a Comment