Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Script to Compare table structures
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
![]() |
![]() |