<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.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>Responses to SSDT questions</title><link>http://sqlblog.com/blogs/jamie_thomson/archive/2013/01/11/responses-to-ssdt-questions.aspx</link><description>My recent article Get to Know SQL Server 2012's SQL Server Data Tools prompted two questions to come to me via email and in the interests of sharing knowledge via search engines I thought I would answer them here rather than by simply replying by email</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: Responses to SSDT questions</title><link>http://sqlblog.com/blogs/jamie_thomson/archive/2013/01/11/responses-to-ssdt-questions.aspx#47126</link><pubDate>Fri, 11 Jan 2013 22:42:40 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:47126</guid><dc:creator>Peter Schott</dc:creator><description>&lt;p&gt;I'd probably argue that for the first question that they set those objects to &amp;quot;None&amp;quot; for build once they're in the project as well. That way they'll have the old code in version control, but can ensure that it's not being released to new servers. Any code pointing to it can also be deprecated because it won't work at all instead of partially working.&lt;/p&gt;
&lt;p&gt;For the second person, your article at &lt;a rel="nofollow" target="_new" href="http://sqlblog.com/blogs/jamie_thomson/archive/2010/07/21/a-strategy-for-managing-security-for-different-environments-using-the-database-development-tools-in-visual-studio-2010.aspx"&gt;http://sqlblog.com/blogs/jamie_thomson/archive/2010/07/21/a-strategy-for-managing-security-for-different-environments-using-the-database-development-tools-in-visual-studio-2010.aspx&lt;/a&gt; could also be helpful. (And I've got another small tweak to the &amp;quot;Role&amp;quot; portion of the script that I'll post there shortly.) For our team, we need to test our app with certain SQL Logins at this time. Those need to be released to the local servers and then run the permissions appropriate to each environment. If that person is in a similar situation, using those post-deploy permission scripts is very helpful. Of course, having the devs be a sysadmin on their local box may be the best/easiest solution.&lt;/p&gt;
&lt;p&gt;Totally agree that situation #2 should be automated. Use SQLPackage or MSBuild to get that going and don't forget to get the latest release code before publishing. :)&lt;/p&gt;
</description></item></channel></rss>