Error: The selected objects are identical or no objects ..

Compares and synchronizes SQL database content.

Moderators: JonathanWatts, Chris Auckland, David Atkinson, Michelle Taylor, chengvoon.tong

Error: The selected objects are identical or no objects ..

Postby Angus Neilson » Tue Apr 29, 2014 1:00 pm

Hi
I have seen solutions for the same issue in SQL Compare but cannot seem to see where I can select the objects for deployment in SQL Data Compare .

this is the error (sensitive details redacted)
C:\\source\\branches\\Data\\Projects\\ZZReference\\DataCompare>SQLDataCompare /Argfile:xjsjrrsdkdLiveReport.xml
SQL Data Compare: activated, edition: professional, serial number: 507-001-205889-95C7
Red Gate SQL Data Compare Command Line Utility V10.4.8.62
==============================================================================
Copyright c Red Gate Software Ltd 1999-2013

Loading synchronization parameters from project file: C:\\source\\branches\\Data\\Projects\\ZZReference\\DataCompare\\ZZReferenceDataLiveToZZReferenceDataDev_xjsjrrsdkd.sdc
OK
Comparing database DEVSERVER.ZZReferenceData2 with database DEVSERVER.ZZReferenceData...
Registering databases
Mapping
Comparing databases
Error: The selected objects are identical or no objects have been selected in the comparison.


I just want a report of the differences in the Databases for this script and in this case they are identical which is valid not an error
Angus
Angus Neilson
 
Posts: 4
Joined: Tue Apr 29, 2014 12:46 pm

Postby eddie davis » Tue Apr 29, 2014 3:57 pm

Thank you for your forum post.

Need to see the contents of your /Argfile:xjsjrrsdkdLiveReport.xml to answer correctly.

I suspect that you need to include the following switches in your xml argument file.

/IncludeAdditional
/IncludeMissing
/IncludeDifferent
Or user specified /Include[/list]

The command line help for SQL Data Compare is available via this LINK.

Many Thanks
Eddie
Eddie Davis
Technical Support Engineer
Red Gate Software Ltd
E-mail: support@red-gate.com
eddie davis
 
Posts: 942
Joined: Wed Jun 14, 2006 3:47 pm
Location: Red Gate Software

Postby Angus Neilson » Tue Apr 29, 2014 4:17 pm

yes the include switch
Code: Select all
<include>Identical</include>
in the Argfile sorted thanks. It is pretty obvious now that was what was missing :)
Angus
Angus Neilson
 
Posts: 4
Joined: Tue Apr 29, 2014 12:46 pm

Postby Angus Neilson » Tue Apr 29, 2014 4:29 pm

Although it then mean it genrates the whole data set into the reports I realy only wanted to generate a report is ther a way of doing this ?
Angus
Angus Neilson
 
Posts: 4
Joined: Tue Apr 29, 2014 12:46 pm

Postby eddie davis » Wed Apr 30, 2014 10:07 am

Thank you for your replies.

The reporting module of SQL Data Compare simply exports the comparison results into a set of CSV files dependent upon the 'Rows to Include' option.

SQL Data Compare does not generate reports of the type (Interactive HTML, Simple HTML and XML) available in SQL Compare.

If you would like SQL Data Compare to generate reports similar to the report types available in SQL Compare, I recommend that you comment and vote on this SQL Data Compare User Voice TOPIC.

The User Voice Forum is the preferred method of submitting a feature request. The User Voice forum is actively monitored by the Product Managers and Development Teams. The more votes and comments a topic receives will increase its chances of being included in a future version of the product.

Many Thanks
Eddie
Eddie Davis
Technical Support Engineer
Red Gate Software Ltd
E-mail: support@red-gate.com
eddie davis
 
Posts: 942
Joined: Wed Jun 14, 2006 3:47 pm
Location: Red Gate Software

Postby Angus Neilson » Wed Apr 30, 2014 4:15 pm

Yes I would like that facility have added a post on User Voice
Always having to generate a full difference is not ideal with larger data sets but as we have to include identical I assume there is no other way at the moment. The Summary csv is fine fro our needs but can seem to be generated on its own
Angus
Angus Neilson
 
Posts: 4
Joined: Tue Apr 29, 2014 12:46 pm


Return to SQL Data Compare 10

Who is online

Users browsing this forum: No registered users and 0 guests