Activity overview
Latest activity by crancoder
I was including the option Options.IncludeDependencies. Removing this solved the problem. / comments
I was including the option Options.IncludeDependencies. Removing this solved the problem.
Excluding Differences
I am setting Difference.Selected to false before calling BuildFromDifferences for a subgroup of tables and views.
This seems to work for tables, but not for views. In other words, even though I'm ...
Thanks, Michelle.
I had some old code with NoSQLPlumbing included in the Options.
You are correct, I'd been using the wrong Options object in both CompareWith and Work.BuildFromDifferences / comments
Thanks, Michelle.
I had some old code with NoSQLPlumbing included in the Options.
You are correct, I'd been using the wrong Options object in both CompareWith and Work.BuildFromDifferences
Sorry, I copied off the wrong script in the example given of extendedProperties:
Options o = Options.Default | Options.IgnoreExtendedProperties;
sourceDB.Register(new ConnectionProperties(textBoxServer.Text, textBoxDatabase.Text, textBoxUsername.Text, textBoxPassword.Text), o);
targetDB.Register(new ConnectionProperties(textBoxTargetServer.Text, textBoxTargetDatabase.Text, textBoxTargetUserName.Text, textBoxTargetPassword.Text), o); / comments
Sorry, I copied off the wrong script in the example given of extendedProperties:
Options o = Options.Default | Options.IgnoreExtendedProperties;
sourceDB.Register(new ConnectionProperties(textBoxSe...
Extended Properties, Transactions
I've been working with the SQL Compare API to generate a database synchronization script.
I've included the Options.IgnoreExtendedProperties enumeration*, but "EXEC sp_addextendedproperty" commands...
Parsing Table Differences
I'm trying to build a script which puts conditionals around ALTER TABLE statements.
Example (pseudocode):
IF(target database table A does not have field
BEGIN
ALTER TABLE A add field B....
END
I'd...
Richard,
Thanks. / comments
Richard,
Thanks.
Use of Exclude in API?
Does the Data Compare API provide the ability to exclude tables, similar to the command line "exclude" switch?
Thank you.
Database Driver
Does SQLCompare (or any of the Red Gate tools for that matter) use native SQL Server drivers or ODBC drivers?
Thank you.
Brian - Thanks! / comments
Brian - Thanks!