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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Script to Compare table structures

Re: Script to Compare table structures

From: Suhen Pather <Suhen.Pather_at_strandbags.com.au>
Date: Wed, 28 Mar 2001 16:46:23 -0800
Message-ID: <F001.002DAD00.20010328161036@fatcity.com>

Johnson,

You could simply create a database link
and run these queries.

select table_name,column_name from user_tab_columns_at_link minus
select table_name,column_name from user_tab_columns /

Do it both ways

select table_name,column_name from user_tab_columns minus
select table_name,column_name from user_tab_columns_at_link /

You could add other columns in the query such as data_type, etc.

Or you could use Tools such as Enterprise Manager, Toad, etc. which also works.

HTH Suhen

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Mar 28 2001 - 18:46:23 CST

Original text of this message

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