Automate and integrate using the SQL comparison API
Moderator: Chris Auckland
I had an issue where the SDK was trying to drop and re-create a default. The only difference in the defaults was that one of them had a comment above it (a comment was included in the SQL batch when the default was created). I modified our usage of the SDK to include the Options.IgnoreComments setting. However, it still attempted to drop and re-create the default (it still considered the comment as a difference). This works properly in SQL Compare 220.127.116.110, but does not appear to work propertly in the SDK. I tested comparing stored procedures via the SDK where only comments were different, and the SDK correctly chose not to synchronize the stored procedures (I did not test any other object types). I was able to resolve simply by setting the Options.IncludeDependencies so that the SDK can include these erroneous differences and still update the database successfully. However, this still apears to be a bug in the SDK.
- Posts: 4
- Joined: Mon Apr 13, 2009 2:09 pm
Thanks for your post. Which version of the DLLs are you using for your SDK solution?
If it's the ones that originally came with the SDK installer they may be older than the ones that Compare is using. If you amend your solution to point at the DLLs in the SQL Compare program folder, does the same thing happen?
- Posts: 1144
- Joined: Wed Jun 16, 2010 11:10 am
- Location: My desk.
Return to SQL Comparison SDK Previous Versions
Who is online
Users browsing this forum: No registered users and 0 guests