oracle 8.1.7 and windows 2000 advance server
I have three INSTANCE set up
production
demo
test
Now the thing is that each of the instance has to be in sync with each other.
example - all the NUMBER OF tables, rows, triggers , procedures should be all equal in these 3 instances.
Note the oracle username is same in all 3 instances.
Currently they are not equal in numbers.
So i am thinking of writing a script , when i run it should tell me the
1 COMPARE and list the total number of tables in the user in
each instance
2 If the Total number of objects donot match then it should
list out what is the difference in objects in each instance.
3 difference in tables in each instance , where column
names is extra or less.
what happens is now that in production instance in a particular user we add new columns in x number of tables , but we forget to do in test and demo instance.
so in short all the objects are not in sync.
Is a script possible in this situation. Suggestion please