<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Strate SQLStrate SQL</title>
	
	<link>http://www.jasonstrate.com</link>
	<description>SQL Server Adventures with a Database Architect</description>
	<lastBuildDate>Fri, 24 May 2013 15:00:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/StrateSql" /><feedburner:info uri="stratesql" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-sa/3.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:emailServiceId>StrateSql</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Reblog: May 17 to May 23</title>
		<link>http://feedproxy.google.com/~r/StrateSql/~3/xwpaXUu03Yk/</link>
		<comments>http://www.jasonstrate.com/2013/05/reblog-may-17-to-may-23/#comments</comments>
		<pubDate>Fri, 24 May 2013 15:00:22 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>
		<category><![CDATA[Reblog]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/?p=3991</guid>
		<description><![CDATA[Welcome to this Friday&#8217;s reblog summary post.  The aim of these posts is to bring some old posts that newer readers may not have seen back to the forefront.  As with many technology blogs, just because a post is old, doesn&#8217;t mean it doesn&#8217;t still have value. Some posts from years gone by that you [...]<div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=3991">Reblog: May 17 to May 23</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div>]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.flickr.com/photos/luckyguess/6235863503/"><img class="alignright size-thumbnail wp-image-1986" title="Book" src="http://www.jasonstrate.com/wp-content/uploads/2011/11/book-150x150.jpg" alt="Book" width="150" height="150" /></a>Welcome to this Friday&#8217;s reblog summary post.  The <a href="http://www.jasonstrate.com/2011/04/re-blogging-posts/">aim of these posts</a> is to bring some old posts that newer readers may not have seen back to the forefront.  As with many technology blogs, just because a post is old, doesn&#8217;t mean it doesn&#8217;t still have value.</p>
<p>Some posts from years gone by that you may have missed are:</p>
<ul>
<li><a href="http://www.jasonstrate.com/sql-load-generator/">SQL Load Generator</a> (19 May, 2009)</li>
<li><a href="http://www.jasonstrate.com/bpa-installs-but-doesnt-work/">BPA Installs But Doesn&rsquo;t Work</a> (20 May, 2009)</li>
<li><a href="http://www.jasonstrate.com/are-you-down-with-the-bpa/">Are You Down With The BPA?</a> (21 May, 2009)</li>
</ul>
<p>Do you have something from years gone by that was posted during this week?  If so, leave a comment below and we&#8217;ll give some new life to good knowledge.</p>
<div class="shr-publisher-3991"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=3991">Reblog: May 17 to May 23</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/StrateSql?a=xwpaXUu03Yk:zxT_CpAKL6M:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/StrateSql?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/StrateSql/~4/xwpaXUu03Yk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/2013/05/reblog-may-17-to-may-23/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.jasonstrate.com/2013/05/reblog-may-17-to-may-23/</feedburner:origLink></item>
		<item>
		<title>Security Questions: Differences between “Grant” and “With Grant?”</title>
		<link>http://feedproxy.google.com/~r/StrateSql/~3/s2ZJdvFNYeE/</link>
		<comments>http://www.jasonstrate.com/2013/05/security-questions-differences-between-grant-and-with-grant/#comments</comments>
		<pubDate>Thu, 23 May 2013 17:00:28 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[Reblog]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>
		<category><![CDATA[Blog Series]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/?p=4255</guid>
		<description><![CDATA[As I mentioned in the introductory post, in the Introduction to SQL Server Security session for Pragmatic Work&#8217;s Training on the T&#8217;s, I received a large number of questions that there wasn&#8217;t time to answer.  Instead of just a re-cap of all of the questions, instead I&#8217;ve opted to put together a post per topic.  Hopefully, this will [...]<div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4255">Security Questions: Differences between "Grant" and "With Grant?"</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div>]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.flickr.com/photos/mthierry/4595284293/"><img class="alignright size-full wp-image-4225" alt="Padlock" src="http://www.jasonstrate.com/wp-content/uploads/2013/05/Padlock.jpg" width="150" height="150" /></a>As I mentioned in the <a href="http://wp.me/px2UY-168">introductory post</a>, in the <a href="http://www.jasonstrate.com/2013/05/webcast-presentation-materials-introduction-to-sql-server-security/">Introduction to SQL Server Security</a> session for <a href="http://pragmaticworks.com/">Pragmatic Work&#8217;s</a> <a href="http://pragmaticworks.com/LearningCenter/FreeTrainingWebinars/FutureWebinars.aspx">Training on the T&#8217;s</a>, I received a large number of questions that there wasn&#8217;t time to answer.  Instead of just a re-cap of all of the questions, instead I&#8217;ve opted to put together a post per topic.  Hopefully, this will help, not just those that attended the session, but also anyone searching for the same questions later on.</p>
<h2>THE GRANT question</h2>
<p>The third question in the list is:</p>
<blockquote><p>Can you please expound on the difference between &#8220;Grant&#8221; and &#8220;With Grant?&#8221;</p></blockquote>
<p>When you GRANT something within SQL Server, that provides the permissions required to access the object, or securable, that is included in the statement.  For instance, a GRANT of read permissions on a tables allows the person to read from the table.</p>
<p>The WITH GRANT option, requires that Grant Fritchey (<a href="http://scarydba.com/">Blog</a> | <a href="http://twitter.com/#!/GFritchey">@GFritchey</a>) show up for any of your permissions to work.  No, that&#8217;s not right.</p>
<p>In all seriousness, the WITH GRANT option allows the person who has been granted access to an object to GRANT that same access to other principals.  It is basically a method for delegating permissions when you have someone you can trust to manage those permissions.</p>
<p>Generally,  I&#8217;m not a big fan of this option.  The main reason is that, as a DBA, I&#8217;ve tended to be more concerned with who has permissions within a database compared to others.  The frequency in which I&#8217;ve seen others over grant permissions has been disheatening, especially when I was an FTE DBA and working on trying to constrain all of the run-away permissions.  That said, as a team member, we can&#8217;t always hold all of the cards and granting a junior DBA or team lead in another department the option to grant permissions through delegation can be especially handy.</p>
<h2>Demo</h2>
<p>To demonstrate how WITH GRANT works, let&#8217;s run a couple GRANT statements in AdventureWorks2012.  We&#8217;ll start by creating two new logins, <strong>WithGrantLogin1</strong> and <strong>WithGrantLogin2</strong>, using the script in Listing 1.  The last part of the script includes a GRANT statement for <strong>WithGrantLogin1</strong> provide access to Sales.SalesOrderHeader.  At the end of the GRANT, notice that &#8220;<em>WITH GRANT OPTION&#8221;</em> is included.  That is the clause that allows <strong>WithGrantLogin1 </strong>to have the permissions required to assign that GRANT to other users.</p>
<pre class="brush: sql; ">


--Listing 1. Create new login
USE [master]
GO
CREATE LOGIN [WithGrantLogin1] WITH PASSWORD=N&#039;pass@word1&#039;
, DEFAULT_DATABASE=[master]
, CHECK_EXPIRATION=ON
, CHECK_POLICY=ON
GO

CREATE LOGIN [WithGrantLogin2] WITH PASSWORD=N&#039;pass@word1&#039;
, DEFAULT_DATABASE=[master]
, CHECK_EXPIRATION=ON
, CHECK_POLICY=ON
GO

USE [AdventureWorks2012]
GO

CREATE USER [WithGrantLogin1] FOR LOGIN [WithGrantLogin1]

CREATE USER [WithGrantLogin2] FOR LOGIN [WithGrantLogin2]

GRANT SELECT ON Sales.SalesOrderHeader TO [WithGrantLogin1] WITH GRANT OPTION

</pre>
<p>To test this out, open two query windows and login to each of them with one of the two new users.  After doing so, run the script in Listing 2 in each of the two query windows, once for each of the users.  As you might expect, the query will succeed for <strong>WithGrantLogin1</strong>, but fails for <strong><strong>WithGrantLogin2.</strong></strong></p>
<pre class="brush: sql; ">

--Listing 2. Query Sales.SalesOrderHeader
USE AdventureWorks2012
GO

SELECT * FROM Sales.SalesOrderHeader

</pre>
<p>In the query window for <strong>WithGrantLogin1</strong>, run the script in Listing 3.  This script; which does not include the WITH GRANT OPTION, will GRANT read permissions to <strong>WithGrantLogin2</strong> on Sales.SalesOrderHeader.  You should now be able to successfully run the query in Listing 2 for <strong><strong>WithGrantLogin2</strong></strong>.</p>
<pre class="brush: sql; ">


--Listing 3. Create new login
GRANT SELECT ON Sales.SalesOrderHeader TO [WithGrantLogin2]

</pre>
<p>For the DBAs reading this, one of your first concerns with using the WITH GRANT clause for the GRANT statement is auditing how permissions have been assigned.  Fortunately, through SQL Server&#8217;s catalog views, this information is easy to discern.  With the catalog view <a href="http://technet.microsoft.com/en-us/library/ms188367(v=sql.105).aspx">sys.database_permissions</a>, there are columns that identify both the grantee and the grantor for permissions.  Joining the view to <a href="http://msdn.microsoft.com/en-us/library/ms187328.aspx">sys.database_principals</a> provides the names associated with the principal_ids and the names associated with accepting and granting permissions.  Using the query in Listing 4 and output in Figure 1, you can see that there is an audit trail of both who has and who granted permissions.</p>
<pre class="brush: sql; ">

--Listing 4. Review permissions and the grantor
SELECT dp.class
,dp.class_desc
,dp.permission_name
,dp.state_desc
,OBJECT_NAME(dp.major_id) AS object_name
,dp2.name AS grantee_principal
,dp1.name AS grantor_principal
FROM sys.database_permissions dp
left JOIN sys.database_principals dp1 ON dp.grantor_principal_id = dp1.principal_id
left JOIN sys.database_principals dp2 ON dp.grantee_principal_id = dp2.principal_id

</pre>
<p><a href="http://www.jasonstrate.com/wp-content/uploads/2013/05/SysPermissionsOutput.jpg"><img class="size-full wp-image-4269 alignnone" alt="SysPermissionsOutput" src="http://www.jasonstrate.com/wp-content/uploads/2013/05/SysPermissionsOutput.jpg" width="750" height="138" /></a><br />
<strong>Figure 1. Sys.permissions output</strong></p>
<h2>Summary</h2>
<p>When it comes to granting permissions, using the WITH GRANT OPTION might not be my favorite security command.  But it is a very useful option for delegating permissions, and potentially freeing DBAs from mindless tasks to more fun tasks, like performance tuning.  Properly leveraging this option is something that definitely should be a consideration.  What do you think?  Do you use the WITH GRANT OPTION in your environment?</p>
<div class="shr-publisher-4255"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4255">Security Questions: Differences between "Grant" and "With Grant?"</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/StrateSql?a=s2ZJdvFNYeE:UiHVme-N4ts:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/StrateSql?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/StrateSql/~4/s2ZJdvFNYeE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/2013/05/security-questions-differences-between-grant-and-with-grant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.jasonstrate.com/2013/05/security-questions-differences-between-grant-and-with-grant/</feedburner:origLink></item>
		<item>
		<title>Index Analysis May Update</title>
		<link>http://feedproxy.google.com/~r/StrateSql/~3/OdjKJgYjQI8/</link>
		<comments>http://www.jasonstrate.com/2013/05/index-analysis-may-update/#comments</comments>
		<pubDate>Wed, 22 May 2013 17:00:50 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[Performance Tuning]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>
		<category><![CDATA[Index Analysis]]></category>
		<category><![CDATA[Indexing]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>
		<category><![CDATA[SQL Server 2012]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/?p=4265</guid>
		<description><![CDATA[Seems I managed to make it through all of April without an update to the index analysis stored procedure.  It wasn&#8217;t for lack of using it with clients, but a lack of time to get the changes out the door. A few months back, I added the option to look at just duplicate index or [...]<div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4265">Index Analysis May Update</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div>]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.jasonstrate.com/wp-content/uploads/2013/03/Unicorn-Create-Index.jpg"><img class=" wp-image-3792 alignright" alt="Unicorn Create Index" src="http://www.jasonstrate.com/wp-content/uploads/2013/03/Unicorn-Create-Index.jpg" width="160" height="214" /></a></p>
<p>Seems I managed to make it through all of April without an update to the <a href="http://www.jasonstrate.com/resources/index-resources/">index analysis stored procedure</a>.  It wasn&#8217;t for lack of using it with clients, but a lack of time to get the changes out the door.</p>
<p>A few months back, I added the option to look at just duplicate index or overlapping index results.  Have you taken the opportunity to use those features?  If so, I&#8217;d like to hear from you to find out if the output is sufficient to make judgments on dropping the or modifying your indexes.  Please reach out or leave a comment so I can make those sections better.</p>
<h2>INDEX ANALYSIS UPDATES</h2>
<p>There are a couple tweaks that I forgot about documenting in this update.  Though, the main updates to the script in this release are the following:</p>
<ul>
<li>Fixed overlapping index logic that was made wonky because of duplicate index changes (see <a title="That’s Actually A Duplicate Index" href="http://www.jasonstrate.com/2013/03/thats-actually-a-duplicate-index/">That’s Actually A Duplicate Index</a> for more about duplicate indexes)</li>
<li>Adjusted missing foreign key logic to remove duplicate responses</li>
</ul>
<h2>INDEX ANALYSIS DOWNLOADS</h2>
<p>Click on the following links to download the index analysis script:</p>
<ul>
<li>SQL Server 2005 - <a href="http://www.jasonstrate.com/downloads65" title="Downloaded 721 times" >Index Analysis v9</a></li>
<li>SQL Server 2008 - <a href="http://www.jasonstrate.com/downloads64" title="Downloaded 1396 times" >Index Analysis v10</a></li>
<li>SQL Server 2012 - <a href="http://www.jasonstrate.com/downloads63" title="Downloaded 872 times" >Index Analysis v11</a></li>
</ul>
<h2>Comments and MORE INFORMATION</h2>
<p>Let me know if you run into any issues with these scripts, my e-mail address is in the header of all of the procedures.  If you are looking for a few hundred pages of indexing information, you can check out <a href="http://www.amazon.com/gp/product/1430237414/ref=as_li_tf_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1430237414&amp;linkCode=as2&amp;tag=st0ab5-20">Expert Performance Indexing for SQL Server 2012</a>.  Along with that, for indexing resources from my blog, check out the <a href="http://www.jasonstrate.com/resources/index-resources/">index resource page</a>.</p>
<p>Lastly, want to see this script do anything special with indexes?  Leave a comment and I&#8217;ll see what I can do.</p>
<div class="shr-publisher-4265"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4265">Index Analysis May Update</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/StrateSql?a=OdjKJgYjQI8:oqssv0T1GRU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/StrateSql?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/StrateSql/~4/OdjKJgYjQI8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/2013/05/index-analysis-may-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.jasonstrate.com/2013/05/index-analysis-may-update/</feedburner:origLink></item>
		<item>
		<title>Security Questions: Grant Permissions to All Stored Procedures</title>
		<link>http://feedproxy.google.com/~r/StrateSql/~3/T4RNIdGbUTs/</link>
		<comments>http://www.jasonstrate.com/2013/05/security-questions-grant-permissions-to-all-stored-procedures/#comments</comments>
		<pubDate>Wed, 22 May 2013 15:00:06 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[Reblog]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>
		<category><![CDATA[Blog Series]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/?p=4254</guid>
		<description><![CDATA[As I mentioned in the introductory post, in the Introduction to SQL Server Security session for Pragmatic Work&#8217;s Training on the T&#8217;s, I received a large number of questions that there wasn&#8217;t time to answer.  Instead of just a re-cap of all of the questions, instead I&#8217;ve opted to put together a post per topic.  Hopefully, this will [...]<div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4254">Security Questions: Grant Permissions to All Stored Procedures</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div>]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.flickr.com/photos/mthierry/4595284293/"><img class="alignright size-full wp-image-4225" alt="Padlock" src="http://www.jasonstrate.com/wp-content/uploads/2013/05/Padlock.jpg" width="150" height="150" /></a>As I mentioned in the <a href="http://wp.me/px2UY-168">introductory post</a>, in the <a href="http://www.jasonstrate.com/2013/05/webcast-presentation-materials-introduction-to-sql-server-security/">Introduction to SQL Server Security</a> session for <a href="http://pragmaticworks.com/">Pragmatic Work&#8217;s</a> <a href="http://pragmaticworks.com/LearningCenter/FreeTrainingWebinars/FutureWebinars.aspx">Training on the T&#8217;s</a>, I received a large number of questions that there wasn&#8217;t time to answer.  Instead of just a re-cap of all of the questions, instead I&#8217;ve opted to put together a post per topic.  Hopefully, this will help, not just those that attended the session, but also anyone searching for the same questions later on.</p>
<h2>StoreD Procedure question</h2>
<p>The second question in the list is:</p>
<blockquote><p>Do we have easy way to grant all stored procedures execution in a single shot?</p></blockquote>
<p>When I was a DBA working on SQL Server 7 and SQL Server 2000, this was a near constant pain.  I wanted to give users the ability to only execute stored procedures and wanted the least amount of hassle while doing it.  Back then, that meant a script that would run nightly and verify that all stored procedures were included in the database role for executing stored procedures.  Needless to say, while automated, the delay between deploying the procedure and granting access often got the better of me and we really needed something different.</p>
<p>In steps SQL Server 2005.  At this point, you might be thinking, &#8220;are you going to tell me that I&#8217;ve been able to do this since SQL Server 2005?&#8221;  Yes, since SQL Server 2005, there has been a permission that allows execution for all stored procedures to be assigned to any principal.</p>
<h2>Exec All Stored Procedure Demo</h2>
<p>Granting the permission to execute all stored procedures is rather simple.  It just requires knowing the user (or role) that needs the permissions and a grant statement, shown in listing 1.</p>
<pre class="brush: sql; ">

--Listing 1. Grant exec to all stored procedures in a database

GRANT EXEC TO [User]
GO

</pre>
<p>Of course, the question that immediately follows the permissions to grant all stored procedures is one where the users need access to all of them, except these other ones.  There are a few ways this can be approached.  One useful manner to control the permissions is to scope the permissions to a specific schema.  The GRANT option, shown in listing 2, can allow the user to only execute stored procedures in the schema.  Or the user could be granted permissions for all schemas, as was done previously, and then the schema that shouldn&#8217;t be accessed has DENY permissions set.</p>
<pre class="brush: sql; ">

--Listing 2. Permissions based on executing stored procedures in a schema

GRANT EXEC ON SCHEMA::SomeSchema TO [User]

DENY EXEC ON SCHEMA::AnotherSchema TO [User]
GO

</pre>
<p>There are numerous ways to achieve this, but I&#8217;ve always found it useful to know that you can scope permissions, such as EXEC, to the schema.</p>
<h2>Summary</h2>
<p>If you weren&#8217;t aware of the flexibility in assigning broad permissions to stored procedures, this post has hopefully enlightened you to some new security options.  Are there any permission combinations that you&#8217;ve tried to accomplish that haven&#8217;t worked out right?  Or, have you come up with an interesting permission solution that you think others might find useful?  Leave a comment and let us in on your solutions or problems.</p>
<div class="shr-publisher-4254"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4254">Security Questions: Grant Permissions to All Stored Procedures</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/StrateSql?a=T4RNIdGbUTs:TFtXwru3VLA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/StrateSql?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/StrateSql/~4/T4RNIdGbUTs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/2013/05/security-questions-grant-permissions-to-all-stored-procedures/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.jasonstrate.com/2013/05/security-questions-grant-permissions-to-all-stored-procedures/</feedburner:origLink></item>
		<item>
		<title>Security Questions: What permissions are required to create temporary tables?</title>
		<link>http://feedproxy.google.com/~r/StrateSql/~3/LqM5qQ1N0eU/</link>
		<comments>http://www.jasonstrate.com/2013/05/security-questions-what-permissions-are-required-to-create-temporary-tables/#comments</comments>
		<pubDate>Tue, 21 May 2013 17:30:22 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>
		<category><![CDATA[Blog Series]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/?p=4243</guid>
		<description><![CDATA[As I mentioned in the introductory post, in the Introduction to SQL Server Security session for Pragmatic Work&#8217;s Training on the T&#8217;s, I received a large number of questions that there wasn&#8217;t time to answer.  Instead of just a re-cap of all of the questions, instead I&#8217;ve opted to put together a post per topic.  Hopefully, this will [...]<div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4243">Security Questions: What permissions are required to create temporary tables?</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div>]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.flickr.com/photos/mthierry/4595284293/"><img class="alignright size-full wp-image-4225" alt="Padlock" src="http://www.jasonstrate.com/wp-content/uploads/2013/05/Padlock.jpg" width="150" height="150" /></a>As I mentioned in the <a href="http://wp.me/px2UY-168">introductory post</a>, in the <a href="http://www.jasonstrate.com/2013/05/webcast-presentation-materials-introduction-to-sql-server-security/">Introduction to SQL Server Security</a> session for <a href="http://pragmaticworks.com/">Pragmatic Work&#8217;s</a> <a href="http://pragmaticworks.com/LearningCenter/FreeTrainingWebinars/FutureWebinars.aspx">Training on the T&#8217;s</a>, I received a large number of questions that there wasn&#8217;t time to answer.  Instead of just a re-cap of all of the questions, instead I&#8217;ve opted to put together a post per topic.  Hopefully, this will help, not just those that attended the session, but also anyone searching for the same questions later on.</p>
<h2>Temporary table question</h2>
<p>The first question in the list is:</p>
<blockquote><p>What permissions are required to create temporary tables?</p></blockquote>
<p>I&#8217;ll be honest, this was a new one for me.  Not because it&#8217;s a bad question, but because I&#8217;ve never had problems trying to create temporary tables.  And also, I&#8217;ve never had complaints from users about not being able to create temporary tables.</p>
<p>That fact of the matter is, that as long as a user can connect to a SQL Server instance, the user is able to create temporary tables.  There are no special permissions.  A login with the most basic permissions has full rights to create and use temporary tables.  As it also turns out, there are no permissions for blocking or limiting temporary table creation.  This last bit would actually be useful, given the ability in other users I&#8217;ve seen before to fill tempdb with their temporary data sets.</p>
<h2>Temporary Table Demo</h2>
<p>Just to demonstrate that any login with access can create temporary tables, we&#8217;ll run through a quick demo.  Using the script in listing 1, create a new login on a SQL Server instance.</p>
<pre class="brush: sql; ">

--Listing 1. Create new login

USE [master]
GO
CREATE LOGIN [TempTableUser] WITH PASSWORD=N&#039;pass@word1&#039;
, DEFAULT_DATABASE=[master]
, CHECK_EXPIRATION=ON
, CHECK_POLICY=ON
GO

</pre>
<p>Then connect to the SQL Server instance and run the create table script provided in listing 2.  You&#8217;ll see that without any issues, the user can create a temporary table.</p>
<pre class="brush: sql; ">

--Listing 2.

CREATE TABLE #temp (Column1 INT)

</pre>
<h2>Summary</h2>
<p>Now this might not have been the deepest content on this blog ever, but it is a quick answer and proof that, as DBA&#8217;s we don&#8217;t have to do anything to allow temporary table access for users.  This question, though, makes me wonder, have you ever had issues with creating temporary tables?  Maybe someone out there has worked in a place where someone figured out how to block temporary tables create permissions.</p>
<div class="shr-publisher-4243"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4243">Security Questions: What permissions are required to create temporary tables?</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/StrateSql?a=LqM5qQ1N0eU:MGHs-LXZQHg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/StrateSql?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/StrateSql/~4/LqM5qQ1N0eU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/2013/05/security-questions-what-permissions-are-required-to-create-temporary-tables/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.jasonstrate.com/2013/05/security-questions-what-permissions-are-required-to-create-temporary-tables/</feedburner:origLink></item>
		<item>
		<title>SQL Server Security Webcast Questions – Series Introduction</title>
		<link>http://feedproxy.google.com/~r/StrateSql/~3/qErgzHNkKIs/</link>
		<comments>http://www.jasonstrate.com/2013/05/sql-server-security-webcast-questions-series-introduction/#comments</comments>
		<pubDate>Tue, 21 May 2013 17:00:31 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[DBA]]></category>
		<category><![CDATA[Reblog]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>
		<category><![CDATA[Blog Series]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/?p=4224</guid>
		<description><![CDATA[Earlier this month, I presented an Introduction to SQL Server Security session for Pragmatic Work&#8217;s Training on the T&#8217;s.  A video of the session is available at the Pragmatic Works website.  As a part of that session, I received a couple dozen questions about security that we didn&#8217;t have a chance to go over during [...]<div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4224">SQL Server Security Webcast Questions - Series Introduction</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div>]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.flickr.com/photos/mthierry/4595284293/"><img class="alignright size-full wp-image-4225" alt="Padlock" src="http://www.jasonstrate.com/wp-content/uploads/2013/05/Padlock.jpg" width="150" height="150" /></a>Earlier this month, I presented an <a href="http://www.jasonstrate.com/2013/05/webcast-presentation-materials-introduction-to-sql-server-security/">Introduction to SQL Server Security</a> session for <a href="http://pragmaticworks.com/">Pragmatic Work&#8217;s</a> <a href="http://pragmaticworks.com/LearningCenter/FreeTrainingWebinars/FutureWebinars.aspx">Training on the T&#8217;s</a>.  A video of the session is available at the <a href="http://pragmaticworks.com/LearningCenter/FreeTrainingWebinars/WebinarDetails.aspx?ResourceId=522">Pragmatic Works website</a>.  As a part of that session, I received a couple dozen questions about security that we didn&#8217;t have a chance to go over during the Q&amp;A portion of the webcast.</p>
<p>Rather than write a short, possibly insufficient, answer for each question, I decided instead to put each question into a blog post.  That way, they&#8217;ll be a bit easier to track down, read, and get the information you want out of them.  These questions run from simple to complex.</p>
<h2>Security Questions Asked</h2>
<p>For the questions, I&#8217;ve made a few edits here and there for clarity.  Overall, though, these are all of the questions that I received.  As I answer the questions, I&#8217;ll add links to the posts.</p>
<ol>
<li><a href="http://wp.me/px2UY-16r">What permissions are required to create temporary tables?</a></li>
<li><a href="http://wp.me/px2UY-16C">Do we have easy way to grant all stored procedures execution in a single shot?</a> <em><br />
</em></li>
<li><a href="http://wp.me/px2UY-16D">Can you please expound on the difference between &#8220;Grant&#8221; and &#8220;With Grant?&#8221;</a></li>
<li>What is the difference between sysadmin and CONTROL SERVER Permission?</li>
<li>Whats the best role(s) to assign a junior DBA if you want them to see jobs, error logs, activity monitor, and run profiler, but not be able to manage jobs or kill processes?</li>
<li><span style="line-height: 1.5;">Do the different ways of accessing SQL Server (Windows Athentication, SQL Server authentication, certificate or key) have differing authentication and authorization performance? If so, can you order the list?</span></li>
<li>Does 2012 provide TRUNCATE TABLE permissions?</li>
<li>How do you access the list of Server Securables?</li>
<li>How can i be sure a user is no longer used, so it can be deleted? Or when was the last time the logon was used?</li>
<li>How can you migrate users and passwords from one server to another server?</li>
<li>How would handle permissions for people that need full SQL Agent permissions (including being able to edit other peoples jobs) without giving sysadmin rights?</li>
<li>I work in a bank and federal inspectors are always looking at how secure are my databases. How would you prioritize security for the SQL Server?</li>
<li>What is the relationship between logins, credentials, and proxies? And why they were introduced?</li>
<li>What are some tips regarding roles other than sysadmin?</li>
<li>If an associate leaves, what is the best way to remove them from not only the logins but also all the databases?</li>
<li>What is the difference between db_datawriter and db_ddladmin?</li>
<li>How do I resolve the error: Drop Failed for User &#8211; The database principal owns a schema in the database, and cannot be dropped?</li>
<li>In 2008, a user at the DB level remains when you remove them at the Server level. Is this by design or perhaps &#8216;fixed&#8217; in 2012 so that if a user is deleted at the server level she is also deleted from all database security?</li>
<li>Is the chart or dashboard in the Policy Based Management slide a standard one in SQL Server?</li>
<li>Is the grantor important? When, I as sysadmin grant rigths to a user I believe I come up as sa as grantor.</li>
<li>Is there a way to grant user to create alerts?</li>
<li>Is there a way to hide column/restrict from users?</li>
<li>Is there way to limit permission with date and time? For example, I want to give read access to a table within certain time period. For example, during business hours only.</li>
<li>Can you grant access through a job that runs at a specified time and remove this access through another job with the end period?</li>
<li>On a clustered server, can I grant access to a user to run SQL Trace (Alter SQL Trace permission) on specific databases but not all of them?</li>
<li>I have a login that does not have an entry in view sys.server_permissions. Shouldn&#8217;t every login has at least one entry, for &#8220;Connect SQL&#8221; as value for permission_name?</li>
<li>Temp tables: as a DBA, can i delete temp tables that are much too big?</li>
<li>Anyways to identify host name if an app is used through web, as well as mobile, to access SQL database? This question is just for tracking DB SELECT activity and the device/app usage from mobile?</li>
<li>What is the name of the recommended book again?</li>
</ol>
<h2>Last Words</h2>
<p>Some of these post may inspire additional questions.  Please leave those questions in the comments and I&#8217;ll either write an additional post to cover them or re-direct you to a post or other resource that can answer the question.</p>
<div class="shr-publisher-4224"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4224">SQL Server Security Webcast Questions - Series Introduction</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/StrateSql?a=qErgzHNkKIs:OiMD-txfQMs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/StrateSql?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/StrateSql/~4/qErgzHNkKIs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/2013/05/sql-server-security-webcast-questions-series-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.jasonstrate.com/2013/05/sql-server-security-webcast-questions-series-introduction/</feedburner:origLink></item>
		<item>
		<title>Last Weeks Top “Reading” Links #33</title>
		<link>http://feedproxy.google.com/~r/StrateSql/~3/kjxQkvtXAKQ/</link>
		<comments>http://www.jasonstrate.com/2013/05/last-weeks-top-reading-links-33/#comments</comments>
		<pubDate>Mon, 20 May 2013 15:00:07 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[List]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/?p=4237</guid>
		<description><![CDATA[For those that follow me on twitter (@StrateSQL), you&#8217;ll know that throughout the day I tweet out some links of things I find interesting.  These tweets include &#8220;Reading&#8221; in the message and are items I&#8217;ve read over the past few days, usually after hours when sharing would be less than useful, and spaced out to [...]<div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4237">Last Weeks Top "Reading" Links #33</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div>]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.jasonstrate.com/wp-content/uploads/2012/10/2012-01-013.jpg"><img style="padding-top: 0px; padding-left: 0px; padding-right: 0px; border: 0px; margin: 2px;" title="2012-01-013" alt="2012-01-013" src="http://www.jasonstrate.com/wp-content/uploads/2012/10/2012-01-013_thumb.jpg" width="189" height="143" align="right" border="0" /></a>For those that follow me on <a href="https://twitter.com">twitter</a> (<a href="https://twitter.com/stratesql">@StrateSQL</a>), you&#8217;ll know that throughout the day I tweet out some links of things I find interesting.  These tweets include &#8220;Reading&#8221; in the message and are items I&#8217;ve read over the past few days, usually after hours when sharing would be less than useful, and spaced out to avoid spamming.  The content of the links usually pertain to SQL Server, technology, and career topics; which I think others would find useful.</p>
<h2>Most Popular Link</h2>
<p>The most popular link that I sent out this week doesn&#8217;t have the most safe-for-work content.  It&#8217;s basically a couple with a restaurant in Arizona that decided to take on the internet after a poor reception on some reality show they were on.  It was something like, &#8220;your restaurant sucks, let me show everybody what morons you are&#8221; &#8211; that&#8217;s not the name of the show, but it sums it up nicely.  Anyways, they take on the internet, and low-and-behold, the internet wins.</p>
<blockquote class="twitter-tweet"><p>&#8220;This Is The Most Epic Brand Meltdown On Facebook Ever&#8221; <a title="http://bit.ly/15LrL4X" href="http://t.co/39QQiGtQ2L">bit.ly/15LrL4X</a> &lt;&#8211; just wow</p>
<p>— Jason Strate (@StrateSQL) <a href="https://twitter.com/StrateSQL/status/334493915510099968">May 15, 2013</a></p></blockquote>
<p>&nbsp;</p>
<h2>Last week’s top 11! “Reading” Links</h2>
<p>Along with the top link, here are the top twenty items relating to SQL Server, technology and careers that were sent out last week.  I had planned for a top 10, but number 11 is a review of my indexing book &#8211; so I&#8217;ve included it and recommend you read that&#8230; then read my indexing book.</p>
<ol>
<li><a href="http://bit.ly/1026zi3">Geek City: What gets logged for index rebuild operations? [52 clicks]</a></li>
<li><a href="http://bit.ly/17Lywzb">How a Single Tweet Can Change Your Career [41 clicks]</a></li>
<li><a href="http://bit.ly/10ypt4l">5 SQL Server White Papers Every DBA Should Read [36 clicks]</a></li>
<li><a href="http://buff.ly/Z9f7XV">Know the Difference Between Your Data and Your Metrics [30 clicks]</a></li>
<li><a href="http://bit.ly/ZIh12R">Consultants – Why pay more? [24 clicks]</a></li>
<li><a href="http://bit.ly/ZNmp4R">SQL Server Customer Advisory Team &#8211; SQL Server Best Practices [19 clicks]</a></li>
<li><a href="http://bit.ly/YBAvYc">Why CONTROL SERVER Doesn&#8217;t Cut It [15 clicks]</a></li>
<li><a href="http://bit.ly/ZJkavF">Introducing our latest SQL Server 2008 Microsoft Certified Master &#8211; Wayne Sheffield [15 clicks]</a></li>
<li><a href="http://bit.ly/11xvk9Q">Doing Your Job [14 clicks]</a></li>
<li><a href="http://bit.ly/YtmlrY">Distinct Aggregation Considered Harmful [14 clicks]</a></li>
<li><a href="http://bit.ly/13Z3cgz">Book review: Expert Performance Indexing for SQL Server 2012 [13 clicks]</a></li>
</ol>
<h2>Other Stuff Shared</h2>
<p>Of course, no week would be complete without a few off-topic links.  These have nothing to do with technology or your career, but they sure are entertaining and interesting (and a couple are pretty gross).</p>
<ol>
<li><a href="http://bit.ly/15LrL4X">This Is The Most Epic Brand Meltdown On Facebook Ever [112 clicks]</a></li>
<li><a href="http://bit.ly/15YiQwd">9 Incredible Objects That Prove 3D Printers Are Totally Worth it [27 clicks]</a></li>
<li><a href="http://bit.ly/13CAfab">6 Steps To Healing Yourself [16 clicks]</a></li>
<li><a href="http://bit.ly/129YJFI">DDOS on the VideoLAN downloads infrastructure [14 clicks]</a></li>
<li><a href="http://bit.ly/13SlWhI">Thor 2 : The Dark World Trailer (2013) [12 clicks]</a></li>
<li><a href="http://bit.ly/13BQG7v">The worst break-up stories ever [11 clicks]</a></li>
<li><a href="http://bit.ly/10kuNYZ">Timelapse: Changed Over A Few Decades via Google Earth Engine [9 clicks]</a></li>
<li><a href="http://bit.ly/10qLeil">Michael Bay Is Why Transformers Got So Complicated [10 clicks]</a></li>
<li><a href="http://bit.ly/10pxJDU">Google Expected to Start a Competitor to Spotify [0 clicks]</a></li>
</ol>
<p>Got something you think I should read and share, leave a comment below.  Also, if you want to see all of the links that were tweeted out last week?  Then <a href="http://stratesql.tumblr.com/">follow the links on my tumblr blog</a> or subscribe to it&#8217;s <a href="http://feeds.feedburner.com/StrateSqlLinks">RSS feed</a>.</p>
<div class="shr-publisher-4237"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4237">Last Weeks Top "Reading" Links #33</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/StrateSql?a=kjxQkvtXAKQ:0wtEVNRvsyM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/StrateSql?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/StrateSql/~4/kjxQkvtXAKQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/2013/05/last-weeks-top-reading-links-33/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.jasonstrate.com/2013/05/last-weeks-top-reading-links-33/</feedburner:origLink></item>
		<item>
		<title>Get Just The Tools: SSMS Download</title>
		<link>http://feedproxy.google.com/~r/StrateSql/~3/Qx7kGUy28OI/</link>
		<comments>http://www.jasonstrate.com/2013/05/get-just-the-tools-ssms-download/#comments</comments>
		<pubDate>Wed, 15 May 2013 17:00:04 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>
		<category><![CDATA[SSMS]]></category>
		<category><![CDATA[Tip]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/?p=4194</guid>
		<description><![CDATA[Ever jump on a machine to connect to a SQL Server and find out&#8230; whoops! No tools.  For some reason, the client machine doesn&#8217;t have SQL Server Management Studio (SSMS) installed.  Now I&#8217;m not talking about not having the SSMS installed on the server, but on the local workstation that you need to connect to [...]<div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4194">Get Just The Tools: SSMS Download</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div>]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.flickr.com/photos/86639298@N02/8559728371/"><img class="alignright size-full wp-image-4195" alt="tool" src="http://www.jasonstrate.com/wp-content/uploads/2013/05/tool.jpg" width="150" height="150" /></a>Ever jump on a machine to connect to a SQL Server and find out&#8230; whoops! No tools.  For some reason, the client machine doesn&#8217;t have SQL Server Management Studio (SSMS) installed.  Now I&#8217;m not talking about not having the SSMS installed on the server, but on the local workstation that you need to connect to the server with.</p>
<p>No tools has happened to me many times and, in fact, happened to me this past week.  In the past, this would mean running around trying to get find the client&#8217;s SQL Server installation media.  Maybe downloading a 4+ GB ISO of the entire SQL Server installation from <a href="http://technet.microsoft.com/en-US/">TechNet</a>.  Or, hopefully, making sure the client had USB ports open on their machines and that I had my installation media backup drive with me.  A lot of things that were more work than one would like.</p>
<p>With the release of SQL Server 2012 Service Pack 1, there is a new option on the table.  Instead of downloading everything, you can download just the management tools through the <a href="http://www.microsoft.com/en-us/download/details.aspx?id=35579">Microsoft® SQL Server® 2012 Service Pack 1 (SP1) Express</a> download page.  Just select either <strong>SQLManagementStudio_x64_ENU.exe</strong> or <strong>SQLManagementStudio_x86_ENU.exe</strong> from the download options and you&#8217;ll have the full version of SSMS at your fingertips; in about a quarter the size of the full installation download.</p>
<div class="shr-publisher-4194"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4194">Get Just The Tools: SSMS Download</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/StrateSql?a=Qx7kGUy28OI:hA82yF2tAJc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/StrateSql?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/StrateSql/~4/Qx7kGUy28OI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/2013/05/get-just-the-tools-ssms-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.jasonstrate.com/2013/05/get-just-the-tools-ssms-download/</feedburner:origLink></item>
		<item>
		<title>Last Weeks Top “Reading” Links #32</title>
		<link>http://feedproxy.google.com/~r/StrateSql/~3/6I1mzuDVmUY/</link>
		<comments>http://www.jasonstrate.com/2013/05/last-weeks-top-reading-links-32/#comments</comments>
		<pubDate>Mon, 13 May 2013 15:00:31 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[List]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/?p=4221</guid>
		<description><![CDATA[For those that follow me on twitter (@StrateSQL), you&#8217;ll know that throughout the day I tweet out some links of things I find interesting.  These tweets include &#8220;Reading&#8221; in the message and are items I&#8217;ve read over the past few days, usually after hours when sharing would be less than useful, and spaced out to [...]<div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4221">Last Weeks Top "Reading" Links #32</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div>]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.jasonstrate.com/wp-content/uploads/2012/10/2012-01-013.jpg"><img style="padding-top: 0px; padding-left: 0px; padding-right: 0px; border: 0px; margin: 2px;" title="2012-01-013" alt="2012-01-013" src="http://www.jasonstrate.com/wp-content/uploads/2012/10/2012-01-013_thumb.jpg" width="189" height="143" align="right" border="0" /></a>For those that follow me on <a href="https://twitter.com">twitter</a> (<a href="https://twitter.com/stratesql">@StrateSQL</a>), you&#8217;ll know that throughout the day I tweet out some links of things I find interesting.  These tweets include &#8220;Reading&#8221; in the message and are items I&#8217;ve read over the past few days, usually after hours when sharing would be less than useful, and spaced out to avoid spamming.  The content of the links usually pertain to SQL Server, technology, and career topics; which I think others would find useful.</p>
<h2>Most Popular Link</h2>
<p>I wasn&#8217;t too surprised by this week&#8217;s most popular link.  Negotiating salaries always tends to lack fun and usually were across the desk from someone who&#8217;s done this more often that we have.</p>
<blockquote class="twitter-tweet"><p>Reading: &#8220;How To Negotiate Your Salary&#8221; <a title="http://onforb.es/VkIWU6" href="http://t.co/HlHrQryaar">onforb.es/VkIWU6</a> <a href="https://twitter.com/search/%23career">#career</a></p>
<p>— Jason Strate (@StrateSQL) <a href="https://twitter.com/StrateSQL/status/332152175247634436">May 8, 2013</a></p></blockquote>
<h2>Last week’s top 20 “Reading” Links</h2>
<p>Along with the top link, here are the top twenty items relating to SQL Server, technology and careers that were sent out last week. Usually, I do a top ten, but I really like the items that were in the top twenty.</p>
<ol>
<li><a href="http://onforb.es/VkIWU6">How To Negotiate Your Salary [51 clicks]</a></li>
<li><a href="http://zd.net/WAGxqC">Microsoft to fold in-memory database technology into SQL Server Next [44 clicks]</a></li>
<li><a href="http://bit.ly/ZNsWeb">The Saddest Thing I Ever Heard a Manager Say [40 clicks]</a></li>
<li><a href="http://bit.ly/12DmZit">The secrets of body language: why you should never cross your arms again [34 clicks]</a></li>
<li><a href="http://bit.ly/10B2jWX">LinkedIn Labs | InMaps|Visualize your LinkedIn network [30 clicks]</a></li>
<li><a href="http://bit.ly/XniAP7">SQL Server 2012 partitioned table statistics update behavior change when rebuilding index [26 clicks]</a></li>
<li><a href="http://bit.ly/116BVeQ">SQL Server Alerts with Text Messaging from SQL Server Database Mail [25 clicks]</a></li>
<li><a href="http://bit.ly/15r78uG">The Microsoft Certified Solutions Master: Data Platform Knowledge Exam is available today! [23 clicks]</a></li>
<li><a href="http://bit.ly/16FXL8g">Microsoft Goes After 3 Big Data Myths [21 clicks]</a></li>
<li><a href="http://bit.ly/XYI4lX">Microsoft Azure overtakes Amazon&#8217;s cloud in performance test [20 clicks]</a></li>
<li><a href="http://bit.ly/ZS6xif">How to Overcome Perfectionism [20 clicks]</a></li>
<li><a href="http://bit.ly/11Ax6VY">Why You Should Write Daily [19 clicks]</a></li>
<li><a href="http://bit.ly/16NmZ6k">Analyzing Storage Performance [17 clicks]</a></li>
<li><a href="http://bit.ly/11uVBEv">Career Advice: How to Prepare for a Conference [14 clicks]</a></li>
<li><a href="http://bit.ly/10A8XhU">Using Filtered Indexes to Improve Performance [13 clicks]</a></li>
<li><a href="http://bit.ly/101S0ej">Understanding the SQL Server 2012 Licensing Model [13 clicks]</a></li>
<li><a href="http://bit.ly/10AW1GL">Drunk falling into a worm [13 clicks]</a></li>
<li><a href="http://bit.ly/1399UjO">The Ten Commandments of SQL Server Monitoring [13 clicks]</a></li>
<li><a href="http://bit.ly/15wA3wn">5 Killer Ways to Improve your Writing Right Now [12 clicks]</a></li>
<li><a href="http://bit.ly/Zbtf3I">SQL Server 2012 PDW extends big data capability [11 clicks]</a></li>
</ol>
<h2>Other Stuff Shared</h2>
<p>Of course, no week would be complete without a few off-topic links.  These have nothing to do with technology or your career, but they sure are entertaining and interesting (and a couple are pretty gross).</p>
<ol>
<li><a href="http://bit.ly/ZK5ujB">How to use a semicolon &#8211; The Oatmeal [23 clicks]</a></li>
<li><a href="http://bit.ly/109Mfj4">Funny yearbook photos [17 clicks]</a></li>
<li><a href="http://bit.ly/ZMhTDD">10 Mouthwatering Pick Up Lines To Help You Flirt With Food [16 clicks]</a></li>
<li><a style="line-height: 1.5;" href="http://bit.ly/10s5lxU">LEGO® CUUSOO | Avengers: Iron Man Mark VII Armor [15 clicks]</a></li>
<li><a href="http://bit.ly/1726R13">This Lego Mashup of Volkswagen and Star Wars Works Surprisingly Well [15 clicks]</a></li>
<li><a href="http://bit.ly/10oA3Yv">I Want These Daft Punk Lego Minifigs More Than Their New Album [15 clicks]</a></li>
<li><a href="http://bit.ly/10a3hgI">Old Spock battles New Spock in the greatest car commercial ever [15 clicks]</a></li>
<li><a style="line-height: 1.5;" href="http://bit.ly/15u3vEs">What to watch on Netflix &#8211; Miramax [9 clicks]</a></li>
<li><a href="http://bit.ly/ZMi1Tv">Roses are red, bacon is red [8 clicks]</a></li>
<li><a href="http://bit.ly/10kY2YL">#Bacon Houses: So Much Uglier Than You&#8217;d Imagine [8 clicks]</a></li>
<li><a href="http://bit.ly/116M0IP">Bacon Cheeseburger Fatty &#8211; smoked in a Bradley beef, cheddar [8 clicks]</a></li>
<li><a href="http://bit.ly/13ZZnHq">Mark Hamill Wants Less CGI In Star Wars VII | The Mary Sue [7 clicks]</a></li>
</ol>
<p>Got something you think I should read and share, leave a comment below.  Also, if you want to see all of the links that were tweeted out last week?  Then <a href="http://stratesql.tumblr.com/">follow the links on my tumblr blog</a> or subscribe to it&#8217;s <a href="http://feeds.feedburner.com/StrateSqlLinks">RSS feed</a>.</p>
<div class="shr-publisher-4221"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=4221">Last Weeks Top "Reading" Links #32</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/StrateSql?a=6I1mzuDVmUY:hzXRptDhGqM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/StrateSql?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/StrateSql/~4/6I1mzuDVmUY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/2013/05/last-weeks-top-reading-links-32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.jasonstrate.com/2013/05/last-weeks-top-reading-links-32/</feedburner:origLink></item>
		<item>
		<title>Reblog: May 3 to May 9</title>
		<link>http://feedproxy.google.com/~r/StrateSql/~3/-I65FKHrmeo/</link>
		<comments>http://www.jasonstrate.com/2013/05/reblog-may-3-to-may-9/#comments</comments>
		<pubDate>Fri, 10 May 2013 15:00:42 +0000</pubDate>
		<dc:creator>jstrate</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLServerSyndication]]></category>
		<category><![CDATA[Reblog]]></category>

		<guid isPermaLink="false">http://www.jasonstrate.com/?p=3981</guid>
		<description><![CDATA[Welcome to this Friday&#8217;s reblog summary post.  The aim of these posts is to bring some old posts that newer readers may not have seen back to the forefront.  As with many technology blogs, just because a post is old, doesn&#8217;t mean it doesn&#8217;t still have value. Some posts from years gone by that you [...]<div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=3981">Reblog: May 3 to May 9</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div>]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.flickr.com/photos/luckyguess/6235863503/"><img class="alignright size-thumbnail wp-image-1986" title="Book" alt="Book" src="http://www.jasonstrate.com/wp-content/uploads/2011/11/book-150x150.jpg" width="150" height="150" /></a>Welcome to this Friday&#8217;s reblog summary post.  The <a href="http://www.jasonstrate.com/2011/04/re-blogging-posts/">aim of these posts</a> is to bring some old posts that newer readers may not have seen back to the forefront.  As with many technology blogs, just because a post is old, doesn&#8217;t mean it doesn&#8217;t still have value.</p>
<p>Some posts from years gone by that you may have missed are:</p>
<ul>
<li><a href="http://www.jasonstrate.com/understanding-query-filters-and-clauses/">Understanding Query Filters and Clauses</a> (5 May, 2006)</li>
<li><a href="http://www.jasonstrate.com/room-with-a-view/">Room with a View</a> (6 May, 2006)</li>
<li><a href="http://www.jasonstrate.com/how-to-sort-ssms-project/">How to Sort SSMS Project</a> (8 May, 2006)</li>
<li><a href="http://www.jasonstrate.com/this-blog-entry-brought-to-you-by-the-procedure-sp_msforeachdb/">This blog entry brought to you by the procedure &#8220;sp_MSForEachDB&#8221;</a> (9 May, 2006)</li>
<li><a href="http://www.jasonstrate.com/sorting-project-files-in-ssms/">Sorting Project Files in SSMS</a> (4 May, 2009)</li>
<li><a href="http://www.jasonstrate.com/snapshots-of-index-contention/">Snapshots of Index Contention</a> (4 May, 2009)</li>
<li><a href="http://www.jasonstrate.com/querying-for-parallelism/">Querying for Parallelism</a> (5 May, 2009)</li>
<li><a href="http://www.jasonstrate.com/finding-objects-in-schema/">Finding Objects In Schema</a> (6 May, 2009)</li>
<li><a href="http://www.jasonstrate.com/i-didnt-receive-my-subscription/">I Didn’t Receive My Subscription</a> (7 May, 2009)</li>
<li><a href="http://www.jasonstrate.com/more-parallelism/">More Parallelism</a> (8 May, 2009)</li>
<li><a href="http://www.jasonstrate.com/searching-for-plans/">Searching for Plans</a> (3 May, 2010)</li>
<li><a href="http://www.jasonstrate.com/can-you-dig-it-determining-index-usage/">Can You Dig It? &#8211; Determining Index Plan Usage</a> (4 May, 2012)</li>
<li><a href="http://www.jasonstrate.com/thou-shall-not-shrink-the-database-tsql2sday/">“Thou Shall Not Shrink the Database” #TSQL2sDay</a> (8 May, 2012)</li>
</ul>
<p>Do you have something from years gone by that was posted during this week?  If so, leave a comment below and we&#8217;ll give some new life to good knowledge.</p>
<div class="shr-publisher-3981"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><div class="tentblogger-rss-footer"><hr /><p>You just finished reading <a href="http://www.jasonstrate.com/?p=3981">Reblog: May 3 to May 9</a>!  Consider leaving a comment!</p><p><p align="center">Keep up to date with posts via <a href="http://feeds.feedburner.com/stratesql">RSS</a> or on twitter at <a href="http://www.twitter.com\stratesql">StrateSQL</a></p></p></div><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/StrateSql?a=-I65FKHrmeo:wNNL4WMql_E:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/StrateSql?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/StrateSql/~4/-I65FKHrmeo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jasonstrate.com/2013/05/reblog-may-3-to-may-9/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.jasonstrate.com/2013/05/reblog-may-3-to-may-9/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.785 seconds. --><!-- Cached page generated by WP-Super-Cache on 2013-05-24 13:03:55 -->
