Quantcast
Channel: Toad for Oracle
Viewing all articles
Browse latest Browse all 4009

Forum Post: RE: Null fields not getting compared using using data compare option of Toad for Oracle

$
0
0
> Thanks John. It would be helpful if this can be fixed. I don't really see anything that is broken here except that Toad allowed you to choose a column with nulls to be used as a key. The definition of a primary key is "all unique values and no nulls". We need this to uniquely identify a row. Is there no non-null key column(s) for the table that you can use? If there is not, what about a creating database link so that you can use one connection to access both tables? If you can use a database link, I would suggest downloading the 12.12 beta for the comparison. 12.11 had some problems that made the comparison very slow when going through a DB Link with no key specified. Finally, If you just want to sync the tables and you don't care about looking at the differences first, use Database -> Compare -> Multiple Tables instead. That window is designed to sync data in all tables in a pair of schemas, but you can limit it to just specific tables if you want. You will still need either a primary key or a DB Link to compare tables in different databases, but that window just skips straight to synchronization without displaying the rows that differ, so it is faster. And it can automatically create the DB link for you and then drop it after the sync is complete. I just tested this in 12.11 on a table with no key and about 100,000 rows and it synced in about 15 seconds across a DB Link.

Viewing all articles
Browse latest Browse all 4009


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>