Showing posts with label public synonym. Show all posts
Showing posts with label public synonym. Show all posts
Sunday, June 22, 2008
generate 'create or replace public synonym' statement after export oracle database
SELECT 'CREATE or replace PUBLIC SYNONYM ' || synonym_name || ' FOR '|| table_owner || '.' || table_name || ';' cmd FROM dba_synonyms WHERE TABLE_OWNER in ('A','B','C') and owner='PUBLIC';
Subscribe to:
Posts (Atom)