COMPARE DATABASE CONTENT [message #168636] |
Fri, 21 April 2006 07:03 |
kayarsenal
Messages: 3 Registered: April 2006 Location: Prague
|
Junior Member |
|
|
Hi All,
I have two databases ARSENAL and SPURS on different servers.
Arsenal contains schemas A,B,C. Schema A contains table 1,2. B contains 3,4 C contains 5,6. I ve just created same objects in database SPURS. And migrated the data from ARSENAL to SPURS.
Please how could I easily compare the contents using shell script?
Getting the data from ARSENAL and comparing with SPURS. Output would be stored in a file(I know diff should do the trick but Ive been battling that since morning).
I would expect something like this:
Schema.Table Records (On ARSENAL)
A.1 4
A.2 3
ON SPURS
A.1 5(Outputs an error - count doesnt match)
A.2 3
Thanks in advance
|
|
|
|