How can we help you today? How can we help you today?
matt_hosking

Activity overview

Latest activity by matt_hosking

Potential data loss for table rebuild with transactions off
SQL Compare decided to rebuild a table in our deployment script as it couldn't perform alters and since we don't have transactions enabled for the deployment script, we ended up with something like...
1 follower 1 comment 0 votes
Migration scripts not included after branching
After branching our development trunk (in Subversion), the migration scripts seem to be no longer included. I first reasoned that this was due to the fact that the '.migrationScript' files refer to...
1 follower 1 comment 0 votes
Big Problems After Branching
Just noticed that the '.migrationScript' files have the source control location for the scripts they are used for (under the 'ScriptFolderLocation' elements) - turns out this is what was breaking m...
2 followers 2 comments 0 votes
Source Controlled Source Control Location?!
Moved to SQL Source Control 3 forum (not sure why this isn't the default forum for SQL Source Control 3).
0 followers 0 comments 0 votes
Here it is: "C:\Program Files (x86)\Red Gate\SQL Compare 10\SQLCompare.exe" /sourcecontrol1 /revision1:Latest /scriptsfolderxml:"%teamcity.build.checkoutDir%\Build\compare.xml" /migrationfolderxml:"%teamcity.build.checkoutDir%\Build\migration.xml" /scripts2:"%teamcity.build.checkoutDir%\sourcedb" /options:if,ifg,iw,ie,iq,nt,iu,iup,ip,nc /scriptfile:"%teamcity.build.checkoutDir%\Build\Scripts\%Version%b.sql" Where %Version% = 4.0.0 (at the moment), check out dir is agent-side default check out dir and the sourcedb folder is the source-controlled (SQL Source Control) schema folder for the version to compare against (couldn't see how to supply 'scriptsfolderxml' for the second source control). Compare.xml <?xml version="1.0" encoding="utf-16" standalone="yes"?> <!-- SQL Compare 10 SQL Compare Version:10.1.0.102--> <ISOCCompareLocation version="1" type="SvnLocation"> <RepositoryUrl>http://[removed]/trunk/database/Schema/</RepositoryUrl&gt; </ISOCCompareLocation> Migration.xml <?xml version="1.0" encoding="utf-16" standalone="yes"?> <!-- SQL Compare 10 SQL Compare Version:10.1.0.102--> <ISOCCompareLocation version="1" type="SvnLocation"> <RepositoryUrl>http://[removed]/trunk/database/Migration Scripts/</RepositoryUrl> </ISOCCompareLocation> / comments
Here it is: "C:\Program Files (x86)\Red Gate\SQL Compare 10\SQLCompare.exe" /sourcecontrol1 /revision1:Latest /scriptsfolderxml:"%teamcity.build.checkoutDir%\Build\compare.xml" /migrationfolderxml:...
0 votes
Comparison of source control &amp; database not refreshing views
I've just recently switched from script vs database comparison to source control vs database comparison (in order to support migration scripts) and noticed that views are no longer being refreshed ...
2 followers 10 comments 0 votes