Hi,
I have a DB1 (QA) & DB2 (Prod) , both contains Schemas – CATALOG (DB1) , CATALOG (DB2). Now I need to write a PL/SQL to compare the tables records count of these 2 schemas. Both these Schemas contains 270 tables, to find out both the schema tables record count are in sync we need to write a PL/SQL to compare the table count for these 2 different schemas running in 2 different Databases (DB1 & DB2).
Please let me know how to write a PL/SQL do the comparison for DB1 – CATALOG vs DB2 – CATALOG tables in these are 2 different Databases, so where we need to have the PL/SQL created in DB1 or in DB2 ? how we can compare the record of these 2 Databases tables? We need create a DBlink ? please provide any samples which will be of great help.
Thanks in advance.