What are the challenges you face when working across database platforms? Take the survey
Options

Script files

MeriguanMeriguan Posts: 11
edited June 18, 2013 8:06AM in SQL Compare Previous Versions
Hi,

I compare two script folders using command line.
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

Comments

  • Options
    Eddie DEddie D Posts: 1,792 Rose Gold 5
    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
    Senior Product Support Engineer
    Redgate Software Ltd
    Email: support@red-gate.com
  • Options
    Hi

    The script folders were created using SQL Compare command line.
Sign In or Register to comment.