Skip to Main Content
Oracle Distributed Systems
book

Oracle Distributed Systems

by Charles Dye
April 1999
Intermediate to advanced content levelIntermediate to advanced
552 pages
15h 39m
English
O'Reilly Media, Inc.
Content preview from Oracle Distributed Systems

nonrepobjects.sql

---------------------------------------------------------------------------
-- Filename:    nonrepobjects.sql
-- Purpose:     Lists objects in a schema that are NOT replicated. 
--              Oracle8 only.
-- Author:      Chas. Dye (cdye@excitecorp.com)
-- Date:        29-Aug-1998
---------------------------------------------------------------------------
undef table_owner
set verify off

column owner                    heading "Owner"                 format a10
column name                     heading "Name"                  format a30
column table_name               heading "Table Name"            format a30
column tablespace_name          heading "Tablespace"            format a20

SELECT  t.owner,
        t.table_name,
        t.tablespace_name
FROM    dba_tables t
WHERE   owner = upper('&&table_owner')
AND     table_name NOT LIKE 'MLOG$_%'
AND     table_name NOT LIKE 'SNAP$_%'
AND     table_name NOT LIKE 'ULOG$_%'
AND     table_name NOT IN (
                SELECT  oname
                FROM    dba_repobject
                WHERE   sname = upper('&&table_owner'))
AND     table_name NOT IN (
                SELECT  name
                FROM    dba_registered_snapshots )
ORDER BY table_name
/

undef table_owner
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Internals

Oracle Internals

Donald K. Burleson
Expert Oracle RAC 12c

Expert Oracle RAC 12c

Syed Jaffar Hussain, Tariq Farooq, Riyaj Shamsudeen, Kai Yu
Expert Oracle Exadata, Second Edition

Expert Oracle Exadata, Second Edition

Martin Bach, Karl Arao, Andy Colvin, Frits Hoogland, Randy Johnson, Kerry Osborne, Tanel Poder

Publisher Resources

ISBN: 1565924320Supplemental ContentCatalog PageErrata