<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xml:base="http://www.red-gate.com/MessageBoard/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Red Gate forums</title>
 <link>http://www.red-gate.com/MessageBoard/</link>
 <description>Product Support and Discussion</description>
 <language>en</language>
 <copyright>Copyright Red Gate Software Ltd</copyright>
 <managingEditor>internalsupport@red-gate.com</managingEditor>
 <webMaster>internalsupport@red-gate.com</webMaster>
 <docs>http://blogs.law.harvard.edu/tech/rss</docs>
 <ttl>60</ttl>
 <lastBuildDate>Sun, 19 May 2013 17:45:23 GMT</lastBuildDate>
 <pubDate>Sun, 19 May 2013 17:45:23 GMT</pubDate>
 <image>
  <url>http://www.red-gate.com/messageboard/templates/subRed/images/logo_phpBB.gif</url>
  <title>Red Gate forums</title>
  <link>http://www.red-gate.com/MessageBoard/</link>
 </image>
 <item>
  <title>RE: Rollback scripts</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62013#62013</link>
  <description>EDIT:  I'm sorry, after rereading your question, I now realize you wanted to be able to reverse a migration script.  Sorry I missed that detail initially.   I'll leave my somewhat out of context answer in the hopes that it may prove useful to &lt;span style=&quot;font-style: italic&quot;&gt;someone&lt;/span&gt;!  
&lt;br /&gt;
--------------------------------------
&lt;br /&gt;

&lt;br /&gt;
As you noted, this isn't possible for all types of changes, but I've taken to using this technique with good success:
&lt;br /&gt;

&lt;br /&gt;
&lt;ul&gt;1) Run your compare, select your objects and create your deployment script through the deployment wizard.  I like to save it under a name similar to: &lt;span style=&quot;color: blue&quot;&gt;your_deploy_name.date.&lt;span style=&quot;font-weight: bold&quot;&gt;deploy&lt;/span&gt;.sql&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
2) After the wizard completes, you are dropped back in the compare screen.  &lt;span style=&quot;font-style: italic&quot;&gt;Do not change any selections!&lt;/span&gt;
&lt;br /&gt;

&lt;br /&gt;
3) Near the top of the compare screen, right-click the blue arrow between the two databases under compare and select 'Switch deployment direction.'  The arrow changes to green and now points to the left.  (Ctrl-D is a shortcut for this)
&lt;br /&gt;

&lt;br /&gt;
4) Rerun the compare wizard only this time name you file something simtlar to: &lt;span style=&quot;color: blue&quot;&gt;your_deploy_name.date.&lt;span style=&quot;font-weight: bold&quot;&gt;rollback&lt;/span&gt;.sql&lt;/span&gt;&lt;/ul&gt;
&lt;br /&gt;

&lt;br /&gt;
You now have two script files, one to deploy and one to backout.
&lt;br /&gt;

&lt;br /&gt;
As an extra verification step, I have TeamCity running locally and use it and various RedGate tools to:
&lt;br /&gt;
&lt;ul&gt;1) Build a brand new image of our production database on our development server.
&lt;br /&gt;
2) Run a compare to insure the two are identical
&lt;br /&gt;
3) Apply the deployment script
&lt;br /&gt;
4) Run a compare against source control.  Either insure they're identcal or account for any differences.
&lt;br /&gt;
5) Apply the rollback script.
&lt;br /&gt;
6) Run another compare to insure we're again identical to production&lt;/ul&gt;</description>
  <category>SQL Compare 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17157</comments>
  <dc:creator>John Palmer</dc:creator>
  <pubDate>Sat, 18 May 2013 17:15:32 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62013#62013</guid>
 </item>
 <item>
  <title>Smart Assembly Failed</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62009#62009</link>
  <description>This code in VS
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;Loading project C&amp;#58;\TDClient.saproj
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Output=C&amp;#58;\Client.exe
&lt;br /&gt;
&amp;nbsp; Loading...
&lt;br /&gt;
&amp;nbsp; Starting...
&lt;br /&gt;
&amp;nbsp; Analyzing...
&lt;br /&gt;
&amp;nbsp; Preparing...
&lt;br /&gt;
&amp;nbsp; Creating assembly...
&lt;br /&gt;
&amp;nbsp; OK
&lt;br /&gt;
&amp;nbsp; -&amp;gt; C&amp;#58;\Client.exe
&lt;br /&gt;
========== Build&amp;#58; 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
Produces this in Reflector
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;&amp;#91;assembly&amp;#58; Guid&amp;#40;&amp;quot;32184934-6137-40f6-85b4-001951e249c2&amp;quot;&amp;#41;&amp;#93;
&lt;br /&gt;
&amp;#91;assembly&amp;#58; AssemblyProduct&amp;#40;&amp;quot;Client&amp;quot;&amp;#41;&amp;#93;
&lt;br /&gt;
&amp;#91;assembly&amp;#58; AssemblyCompany&amp;#40;&amp;quot;&amp;quot;&amp;#41;&amp;#93;
&lt;br /&gt;
&amp;#91;assembly&amp;#58; NeutralResourcesLanguage&amp;#40;&amp;quot;en-AU&amp;quot;&amp;#41;&amp;#93;
&lt;br /&gt;
&amp;#91;assembly&amp;#58; ComVisible&amp;#40;false&amp;#41;&amp;#93;
&lt;br /&gt;
&amp;#91;assembly&amp;#58; AssemblyTrademark&amp;#40;&amp;quot;&amp;quot;&amp;#41;&amp;#93;
&lt;br /&gt;
&amp;#91;assembly&amp;#58; AssemblyCopyright&amp;#40;&amp;quot;&amp;quot;&amp;#41;&amp;#93;
&lt;br /&gt;
&amp;#91;assembly&amp;#58; AssemblyFileVersion&amp;#40;&amp;quot;1.0.0.0&amp;quot;&amp;#41;&amp;#93;
&lt;br /&gt;
&amp;#91;assembly&amp;#58; AssemblyDescription&amp;#40;&amp;quot;Client&amp;quot;&amp;#41;&amp;#93;
&lt;br /&gt;
&amp;#91;assembly&amp;#58; AssemblyTitle&amp;#40;&amp;quot;TDClient&amp;quot;&amp;#41;&amp;#93;
&lt;br /&gt;
&amp;#91;assembly&amp;#58; Debuggable&amp;#40;DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.Default&amp;#41;&amp;#93;
&lt;br /&gt;
&amp;#91;assembly&amp;#58; CompilationRelaxations&amp;#40;8&amp;#41;&amp;#93;
&lt;br /&gt;
&amp;#91;assembly&amp;#58; RuntimeCompatibility&amp;#40;WrapNonExceptionThrows=true&amp;#41;&amp;#93;
&lt;br /&gt;
&amp;#91;assembly&amp;#58; TargetFramework&amp;#40;&amp;quot;.NETFramework,Version=v4.5&amp;quot;, FrameworkDisplayName=&amp;quot;.NET Framework 4.5&amp;quot;&amp;#41;&amp;#93;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;
&lt;br /&gt;

&lt;br /&gt;
In SA I added the DLL to the main exe and then moved the exe away from the DLL to check it and sure enough they werent added even though the exe grew because when I moved it away from the DLL it just crashed, didnt even get my error box reporter come up.
&lt;br /&gt;

&lt;br /&gt;
A bug?</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17176</comments>
  <dc:creator>jf3000</dc:creator>
  <pubDate>Fri, 17 May 2013 22:58:49 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62009#62009</guid>
 </item>
 <item>
  <title>RE: Profiling a different machine</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62008#62008</link>
  <description>I'm sorry to say that the Memory Profiler will need to be installed and running on the customer's machine. :/</description>
  <category>ANTS Memory Profiler 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17159</comments>
  <dc:creator>jessica.ramos</dc:creator>
  <pubDate>Fri, 17 May 2013 21:10:02 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62008#62008</guid>
 </item>
 <item>
  <title>RE: Oh Boy problems</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62007#62007</link>
  <description>Please close and review:
&lt;br /&gt;

&lt;br /&gt;
&lt;a href=&quot;http://www.red-gate.com/MessageBoard/viewtopic.php?p=62009#62009&quot; target=&quot;_blank&quot;&gt;http://www.red-gate.com/MessageBoard/viewtopic.php?p=62009#62009&lt;/a&gt;</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17133</comments>
  <dc:creator>jf3000</dc:creator>
  <pubDate>Fri, 17 May 2013 20:34:38 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62007#62007</guid>
 </item>
 <item>
  <title>RE: Login failed for user when trying to open .sqlgen file</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62006#62006</link>
  <description>You should be able to set password encrypted =&amp;quot;0&amp;quot; and then you can free type the password for the account.
&lt;br /&gt;

&lt;br /&gt;
&amp;lt;Password encrypted=&amp;quot;0&amp;quot;&amp;gt;your_unencrypted_password&amp;lt;/Password&amp;gt;</description>
  <category>SQL Data Generator 2</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17161</comments>
  <dc:creator>Manfred.Castro</dc:creator>
  <pubDate>Fri, 17 May 2013 20:09:45 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62006#62006</guid>
 </item>
 <item>
  <title>schema compare and queue tables and queues</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62005#62005</link>
  <description>Hi,
&lt;br /&gt;
Is there a way to set up my schema compare so that it will find my queues and queue tables?   
&lt;br /&gt;
Thanks!</description>
  <category>Schema Compare for Oracle</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17175</comments>
  <dc:creator>MelissaOlson</dc:creator>
  <pubDate>Fri, 17 May 2013 15:46:03 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62005#62005</guid>
 </item>
 <item>
  <title>RE: Is my .net app secure?</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62004#62004</link>
  <description>I can only refer to testimonials we've been given permission to publish. Please take a look at:
&lt;br /&gt;

&lt;br /&gt;
&lt;a href=&quot;http://www.red-gate.com/our-company/about/all-testimonials&quot; target=&quot;_blank&quot;&gt;http://www.red-gate.com/our-company/about/all-testimonials&lt;/a&gt;</description>
  <category>SmartAssembly 6</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17109</comments>
  <dc:creator>Chris.Allen</dc:creator>
  <pubDate>Fri, 17 May 2013 14:53:33 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62004#62004</guid>
 </item>
 <item>
  <title>Force updates rather than inserts</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62003#62003</link>
  <description>Hi,
&lt;br /&gt;

&lt;br /&gt;
I'm trying to do a comparison every 15 minutes and keep a target database up to date. I have fields whereby I can filter what has been added, and what has been changed in the last 15 minutes.
&lt;br /&gt;

&lt;br /&gt;
Problem is, adding that filter makes it want to &amp;quot;insert&amp;quot; all records that have changed, because they don't appear to be in the target data because they have not changed there. Is there a way to force the generation of SQL to always make update statement not inserts?
&lt;br /&gt;

&lt;br /&gt;
Dino</description>
  <category>SQL Comparison SDK 10</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17174</comments>
  <dc:creator>dinonz</dc:creator>
  <pubDate>Fri, 17 May 2013 14:33:02 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62003#62003</guid>
 </item>
 <item>
  <title>RE: Some methods in *.app7results file are not exported to *.htm</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62002#62002</link>
  <description>Hello Hein,
&lt;br /&gt;

&lt;br /&gt;
    I'm curious to know if this is a problem with your web browser (not supporting JavaScript or some form of CSS). If you export to HTML whilst you are viewing the results in grid mode as opposed to tree mode, do you still have methods missing?</description>
  <category>ANTS Performance Profiler 8</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=17154</comments>
  <dc:creator>Brian Donahue</dc:creator>
  <pubDate>Fri, 17 May 2013 14:20:54 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62002#62002</guid>
 </item>
 <item>
  <title>RE: 7.3.0.383 Issue: Refreshing Connection for 20m &amp;amp; counting</title>
  <link>http://www.red-gate.com/MessageBoard/viewtopic.php?p=62001#62001</link>
  <description>Has Red-Gate looked into performance tuning sqbdata? Activity History still takes forever to populate--GT 5 minutes for us on a server that contains 1 year of history.
&lt;br /&gt;

&lt;br /&gt;
Customers should not be forced to delete important backup history as a workaround for a poorly performing SQL Backup process.</description>
  <category>SQL Backup 7</category>
  <comments>http://www.red-gate.com/MessageBoard/posting.php?mode=reply&amp;t=16733</comments>
  <dc:creator>mglenn</dc:creator>
  <pubDate>Fri, 17 May 2013 13:51:54 GMT</pubDate>
  <guid isPermaLink="true">http://www.red-gate.com/MessageBoard/viewtopic.php?p=62001#62001</guid>
 </item>
</channel>
</rss>
