compare data via command line

Discussion of open issues, suggestions and bugs regarding database management and development tools for Oracle
Post Reply
Posts: 1
Joined: Wed 08 Jan 2014 21:13

compare data via command line

Post by gl2103 » Wed 08 Jan 2014 21:28

Hi Experts,
It may be a very naive question but I just started to use Oracle DataCompare.
I wanted to use command line to generate compare script to synchronize data for about 100 tables.
I can do that manually without any problems except checking in 100 tables from ~3000 takes some time;
I was able to save connection arguments to file, but I got confused how I can create a compfile with list of tables to pass as an argument?

I would appreciate any help.

Devart Team
Posts: 2430
Joined: Fri 24 Jun 2011 14:17

Re: compare data via command line

Post by alexa » Thu 09 Jan 2014 10:16

In fact, there is even no need to save connection arguments to a file.

You can just select the tables that you will need to synchronize on the 'Mapping' page of the New Data Comparison wizard and generate a *.dcomp data comparison document that you can then use in the command line, for example:

Code: Select all

C:\Program Files\Devart\dbForge Studio for Oracle>dbforgeoracle /datacompare /compfile:"D:\mycompdoc.dcomp" /sync:"D:\mysync.sql" /log:"D:\mylog.log" /report:"D:\myreport.html" /reportformat:HTML
Please refer to the 'How To: Compare and Synchronize Data through the Command Line' topic in the product's Help documentation for details. The following articles for another our product may be also helpful: ... ndows.html ... ackup.html

Post Reply