Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Compare structure changes between source and target database

SMSGRPJul 26 2016 — edited Jul 26 2016

I need to write a script which compares the source and target database and identify the following structure differences on daily basis. The source database is constantly changing so need the capture the addition/modification of columns and fix it in target db.

1. Addition of new column in source db

2. Change of data type in source db

3. Change of data length in source db

The differences needs to be fixed by the script by executing dynamic ALTER TABLE statement for all the differences listed above.

Please can anyone help?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 23 2016
Added on Jul 26 2016
18 comments
3,088 views