Script files

Compares and synchronizes SQL Server databases, backups and scripts.

Moderators: JonathanWatts, Chris Auckland, David Atkinson, eddie davis, Anu Deshpande, Michelle Taylor, alice.easey, james.billings, chengvoon.tong

Script files

Postby Meriguan » Tue Jun 11, 2013 2:32 pm

Hi,

I compare two script folders using command line.

Code: Select all
sqlcompare /Project:C:\\Work\\Core_rollout.scp /Scriptfile:C:\\Work\\Rollout.sql /Force /ScriptEncoding:ASCII /Options:"DecryptPost2KEncryptedObjects,IgnoreDatabaseAndServerName,IgnoreFileGroups,IgnoreFillFactor,IgnoreIndexLockProperties,IgnoreNotForReplication,IgnorePermissions,IgnoreReplicationTriggers,IgnoreStatistics,IgnoreUserProperties,IgnoreUsers,IgnoreWhiteSpace,IgnoreWithElementOrder,IgnoreWithNocheck,IgnoreConstraintNames,DisableSOCForLiveDBs,IgnoreStatisticsNorecompute,NoTransactions,CaseSensitiveObjectDefinition"

After each comparison I get scripts file.
Issue: The data in script files sorted in different order.
For example: I do two comparison and getting two script files. The data in this files are the same, but sorted in different order.
As the result, I compare script files and I get many differences, but the data in files the same.
Hence, it is difficult to catch differences between two script files if something in script folders was changed.

SQL Compare Command Line V10.2.6.114
Meriguan
 
Posts: 6
Joined: Wed Dec 12, 2012 3:09 pm

Postby eddie davis » Fri Jun 14, 2013 10:09 am

Hi
Thank you for your forum post and sorry that you have encountered a problem.

Can you please provide information on how the script folders were created? Did you use SQL Compare to create the script folders? Or are they created using a different process?

A support call has been created for you, the call reference is F0073944. If the script folders are created using a different process, would it be possible for us to obtain a copy of script folder? If the answer is yes, please sent an e-mail to support@red-gate.com with the above call reference number in the subject field of the e-mail and attach copies of each folder?

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

Postby Meriguan » Tue Jun 18, 2013 1:06 pm

Hi

The script folders were created using SQL Compare command line.
Meriguan
 
Posts: 6
Joined: Wed Dec 12, 2012 3:09 pm


Return to SQL Compare 10

Who is online

Users browsing this forum: No registered users and 0 guests