Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Whats the best way to see what changes have been made to a database structure?

Re: Whats the best way to see what changes have been made to a database structure?

From: Mark D Powell <Mark.Powell_at_eds.com>
Date: 18 Feb 2005 14:53:29 -0800
Message-ID: <1108767209.148326.172250@c13g2000cwb.googlegroups.com>


A simple group by on the dba_objects or user_objects will give you the counts by object_type which will let you see where new objects were added or perhaps dropped.

You can write an outer join of the dba_tab_columns dictionary view to identify differences in the column lists of tables and views. By using an outer join or perhaps full outer join you can make missing and new objects show up.

You can join dba_ind_columns to comapre indexes equal

etc...

How hard this is really depends on how fancy you want the identification of the differences to be.

HTH -- Mark D Powell -- Received on Fri Feb 18 2005 - 16:53:29 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US