<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Schema Compare Improvements</title><link>http://blogs.msdn.com/b/ssdt/archive/2012/03/23/schema-compare-improvements.aspx</link><description>Schema Compare is an incredibly useful tool, providing a visual head over SSDT&amp;rsquo;s model differencing and update engine. It can be used to compare any combination of database, project or dacpac, and allows selective update of the target schema (via</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Schema Compare Improvements</title><link>http://blogs.msdn.com/b/ssdt/archive/2012/03/23/schema-compare-improvements.aspx#10383182</link><pubDate>Tue, 08 Jan 2013 15:59:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10383182</guid><dc:creator>Greg</dc:creator><description>&lt;p&gt;What about the ability to filter out objects by name? My example is I have a database which dynamically generates individual stored procedures for applications to use (not to go into too much detail but basically users can pick a set of filters which get turned into a stored procedure, I know I know we are working on making the filters table driven, but it is what it is at the moment). So we have shifting list of 4000+ stored procedures that are only in our production environment. When I compare between our dev and prod environments I want to be able to completely ignore those stored procedures.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10383182" width="1" height="1"&gt;</description></item><item><title>re: Schema Compare Improvements</title><link>http://blogs.msdn.com/b/ssdt/archive/2012/03/23/schema-compare-improvements.aspx#10379279</link><pubDate>Wed, 19 Dec 2012 01:14:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10379279</guid><dc:creator>Bill Gibson MSFT</dc:creator><description>&lt;p&gt;Hi Scott, sorry to hear you&amp;#39;ve been having problems with Schema Compare. &amp;nbsp;I have not been able to repro either problem using the current (December 2012) release of SSDT based on your description with databases I have tried. &amp;nbsp;The first problem sounds like a dependency analysis issue - there are some known issues with this code, but your scenario is not normally a problem. &amp;nbsp;I can exclude all Add objects on a database that I&amp;#39;m looking at. &amp;nbsp;Would it be possible for you to send a copy of your database schema(s) and projects and detailed repro steps for both problems . &amp;nbsp;If so, could you create a dacpac using the latest version of SSDT and verify that a database created from the dacpac exhibits the same problem. &amp;nbsp;If it does, could you send the dacpac file to me at bill dot gibson at Microsoft dot com. &amp;nbsp; &lt;/p&gt;
&lt;p&gt;In future, I recommend using our forum to post questions or report issues like these. &amp;nbsp;The forum is actively followed by the team and the community, whereas comments on blogs, especially old posts like this, might get overlooked. &amp;nbsp;The forum is located here: &lt;a rel="nofollow" target="_new" href="http://social.msdn.microsoft.com/Forums/en-US/ssdt/threads"&gt;social.msdn.microsoft.com/.../threads&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Again, apologies for the inconvenience, and thanks for reporting the issue.&lt;/p&gt;
&lt;p&gt;Regards, &lt;/p&gt;
&lt;p&gt;Bill&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10379279" width="1" height="1"&gt;</description></item><item><title>re: Schema Compare Improvements</title><link>http://blogs.msdn.com/b/ssdt/archive/2012/03/23/schema-compare-improvements.aspx#10378892</link><pubDate>Tue, 18 Dec 2012 03:41:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10378892</guid><dc:creator>ScottYan</dc:creator><description>&lt;p&gt;I used sql schema compare for several days, and it just make me CRAZY!!&lt;/p&gt;
&lt;p&gt;The first problem is the checkbox (of &amp;quot;Action&amp;quot; column) can&amp;#39;t be unchecked for no reason. I dig this for several hours, I tried settings , and searched at internet, but nothing helps. To simply re-create this issue, I created a new database in my localdb, and set it to &amp;quot;target&amp;quot;, then choose an existing sql server database as &amp;quot;source&amp;quot;, after compare, I exclude everything of &amp;quot;Add&amp;quot; folder, and ....most tables, users(which I don&amp;#39;t need), schemas, &amp;nbsp;are still be checked, and the checkbox is gray, so, why it compel me creating those tables? I think a tool should never treat users as kids. &lt;/p&gt;
&lt;p&gt;The second problem is , after some compare and updates, the localdb database(target) is all the same with source, except missing column description(extended properties), the compare will found the difference, and even I can see sql code in &amp;quot;Object Definitions&amp;quot; panel , but , when I click update, nothing will happen, if I compare again, the difference is still there, I checked the scripts it created, just...nothing. The scripts reported &amp;quot;update successful&amp;quot;, but in fact it simply ignored the extended properties, again, I tried settings, searched at internet for hours , nothing helps. &lt;/p&gt;
&lt;p&gt;so, what&amp;#39;s wrong ?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10378892" width="1" height="1"&gt;</description></item><item><title>re: Schema Compare Improvements</title><link>http://blogs.msdn.com/b/ssdt/archive/2012/03/23/schema-compare-improvements.aspx#10365994</link><pubDate>Tue, 06 Nov 2012 01:34:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10365994</guid><dc:creator>Vairam</dc:creator><description>&lt;p&gt;Until Data Compare not available for SQL Server 2012, Business Intelligence Tools and SSDT tools not available in VS 2012 shell, these don&amp;#39;t buy anything to migrate to SQL Server 2012.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10365994" width="1" height="1"&gt;</description></item><item><title>re: Schema Compare Improvements</title><link>http://blogs.msdn.com/b/ssdt/archive/2012/03/23/schema-compare-improvements.aspx#10297023</link><pubDate>Tue, 24 Apr 2012 06:55:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10297023</guid><dc:creator>Bill Gibson MSFT</dc:creator><description>&lt;p&gt;Apologies for missing your comments! &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding your first question, .dacpac files are replacement to the .dbschema files created by vsdbcmd.exe. You can create .dacpac files using SSMS (the wizard referred to in your next question), SSDT, or SQLPackage.exe which replaces vsdbcmd.exe. &amp;nbsp;SQLPackage.exe is installed with SSDT and located by default on a 64 bit machine here: C:\Program Files (x86)\Microsoft SQL Server\110\DAC\bin. &amp;nbsp;If you want to install SQLPackage stand-alone you will need to install DACFx plus its dependencies. &amp;nbsp;These are available as part of the Microsoft SQL Server 2012 Feature Pack, downloadable here: &lt;a rel="nofollow" target="_new" href="http://www.microsoft.com/download/en/details.aspx?id=29065#instructions"&gt;www.microsoft.com/.../details.aspx&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;Regarding your second question, when extracting a dacpac, it contains the normalized code stored by the database engine, which may be formated differently than the code in your project. Schema Compare will not normally report format differences which are not semantically significant. &amp;nbsp;In some case (for example script of a computed column) where the semantics cannot be reliably determined it may report a difference. &amp;nbsp;In this case you can update your project to match the code stored in the database using Schema Compare. &amp;nbsp;If this is not consistent with what you&amp;#39;re seeing then let us know. &lt;/p&gt;
&lt;p&gt;In future, I recommend using our forum to post questions like these. &amp;nbsp;The forum is actively followed by the team and the community. &amp;nbsp;The forum is located here: &lt;a rel="nofollow" target="_new" href="http://social.msdn.microsoft.com/Forums/en-US/ssdt/threads"&gt;social.msdn.microsoft.com/.../threads&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards, &lt;/p&gt;
&lt;p&gt;Bill Gibson&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10297023" width="1" height="1"&gt;</description></item><item><title>re: Schema Compare Improvements</title><link>http://blogs.msdn.com/b/ssdt/archive/2012/03/23/schema-compare-improvements.aspx#10293215</link><pubDate>Thu, 12 Apr 2012 16:18:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10293215</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;This is absolutely terrible. The &amp;quot;Extract Data Tier Application Wizard&amp;quot; changes the syntax and formatting of objects. This makes comparison with my database project just about impossible. The previous VSDBCMD method that created a dbschema file did not have this behavior. Why can&amp;#39;t you support comparing dbschema files any longer? I&amp;#39;m starting to regret investing my time and money into a Vistual Studio database project. I really thought that I could make it work.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10293215" width="1" height="1"&gt;</description></item><item><title>re: Schema Compare Improvements</title><link>http://blogs.msdn.com/b/ssdt/archive/2012/03/23/schema-compare-improvements.aspx#10291302</link><pubDate>Thu, 05 Apr 2012 21:23:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10291302</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;We can&amp;#39;t compare .dbschema files anymore??? So how am I supposed to do a schema compare of the remote SQL 2005 databases that I have to support? Up till now, I&amp;#39;ve been using the VSDBCMD to get the remote schema off the remote SQL 2005 database and then compare the .dbschema file with my local project.&lt;/p&gt;
&lt;p&gt;What can I install on the remote SQL 2005 server that will allow me to generate some kind of file I can use to compare the schemas?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10291302" width="1" height="1"&gt;</description></item></channel></rss>