Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Comparing 2 tables ... how ?
Hi !
I need to compare 2 tables, one on database A and another on database B.
Actually I need to compare many tables to see if the two databases are equal.
I'm thinking in writing a script to export a table into a text file. Then I export all tables from DB A to DIR_A and from DB B to DIR_B. Then I write a Perl script to compare all files from these two dir's or just use some filesync program.
Finally with some diff program check the differences between the files.
QUESTIONS:
How can I write an export script ? Does SELECT writes the
lines in the same order on both DB's ? Can I use a diff program on
that ?
Is there any programs that can do this comparison ?
Rui Anastácio Received on Thu Nov 09 2000 - 03:52:17 CST
![]() |
![]() |