WebNov 27, 2008 · — compile public synonym that are invalid Select ‘alter public synonym ‘ object_name ’ compile;’ From dba_objects Where status <> ‘VALID’ And owner = ‘PUBLIC’ And object_type = ‘SYNONYM’; — drop public synonym that are invalid Select ‘drop public synonym ‘ object_name ’;’ From dba_objects Where status <> ‘VALID’ And owner = ‘PUBLIC’ WebThe Problem. When any user being granted the DBA role tries to compile synonyms of other users it will get the following errors: SQL> conn system/xxxxx Connected. SQL> create synonym user1.emps for user1.emp; Synonym created. SQL> alter synonym user1.emps compile; alter synonym user1.emps compile * ERROR at line 1: ORA-01031: insufficient ...
ALTER SYNONYM - Oracle
WebApr 5, 2014 · How to compile synonyms. April 5, 2014 TSR Today we did successfully one upgrade and as a part of that we found many synonyms got invalidated. So following have been used. 1) To recompile NON-PUBLIC SYNONYMS use below script. set pagesize 0 set linesize 79 set verify off set echo off spool select_all.sql WebApr 11, 2008 · To compile the synonym, I would have to be connected either as / as sysdba or as the user A. Is there a privilege that can i give to another user B to be able to compile this synonym? I do not find anything like "alter any synonym". This is on 10gR2. Any help is appreciated. regards . Comments. granny flats canberra cost
Guide to Using SQL: Synonyms and the Rename Statement
WebSynonyms can be public or private. A public synonym is accessible to every user in a database and owned by a specified group named PUBLIC while a private synonym is … WebSynonyms of compile compile verb Definition of compile as in to collect to bring together from several sources into a single volume or list compiled the best short stories ever … WebOracle Database Express Edition (XE) SQLcl; SQL Developer; SQL Developer Data Modeler; Development; Programming Languages; Node.js; DevOps; Containers; DevOps … chino plumber