<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title> &#187; Management Studio</title>
	<atom:link href="http://benchmarkitconsulting.com/tag/management-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://benchmarkitconsulting.com</link>
	<description></description>
	<lastBuildDate>Tue, 17 Jan 2012 15:11:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Select or Edit Top x Rows</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2010/10/27/select-or-edit-top-x-rows/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2010/10/27/select-or-edit-top-x-rows/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 16:29:18 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Management Studio]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SSMS]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=1559</guid>
		<description><![CDATA[So a little SQL Server Management Studio tip/trick for today (inspired by a user question&#8230; Thanks Brandon!!) When you right click on a table you&#8217;re given the options to Select Top 1000 rows or Edit Top 200 rows as shown below: If you choose to SELECT, SQL Server Management Studio will build your SELECT statement [...]]]></description>
			<content:encoded><![CDATA[<p>So a little SQL Server Management Studio tip/trick for today (inspired by a user question&#8230; Thanks Brandon!!)</p>
<p>When you right click on a table you&#8217;re given the options to Select Top 1000 rows or Edit Top 200 rows as shown below:</p>
<p><img class="alignnone size-full wp-image-1560" title="Options" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/10/Options.jpg" alt="" width="278" height="356" /></p>
<p>If you choose to SELECT, SQL Server Management Studio will build your SELECT statement for you and execute it (which is nice cause it populates all your coumn names in your query). </p>
<p>If you choose to EDIT, SQL Server Management Studio will populate a datasheet for you and allow you to make changes there (if your permissions allow you to do so).</p>
<p>But what if I wanted to SELECT the top 2000 or 5000 rows?  What if I wanted to UPDATE the top 1000 rows?</p>
<p>These values (TOP X) are configurable in SQL Server Management Studio but it is a bit &#8220;hidden&#8221; in the options menu:</p>
<p><img class="alignnone size-full wp-image-1562" title="TopX" src="http://benchmarkitconsulting.com/wp-content/uploads/2010/10/TopX.jpg" alt="" width="383" height="222" /></p>
<p>Nothing really &#8220;ground-breaking&#8221; but hopefully it&#8217;ll make someones Management Studio experience that much better. </p>
<p>Enjoy and follow me on Twitter: <a href="http://twitter.com/ColinStasiuk" target="_blank">@ColinStasiuk</a></p>
<p><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Select+or+Edit+Top+x+Rows+http://tinyurl.com/39cll2y" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/10/27/select-or-edit-top-x-rows/&amp;title=Select+or+Edit+Top+x+Rows" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/10/27/select-or-edit-top-x-rows/&amp;title=Select+or+Edit+Top+x+Rows" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2010/10/27/select-or-edit-top-x-rows/&amp;title=Select+or+Edit+Top+x+Rows" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2010/10/27/select-or-edit-top-x-rows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CMS Multiserver Query Result Default Settings</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2009/07/20/cms-multiserver-query-result-default-settings/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2009/07/20/cms-multiserver-query-result-default-settings/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 16:26:21 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Central Management Server]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Management Studio]]></category>
		<category><![CDATA[Options]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL 2008]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=857</guid>
		<description><![CDATA[Steve Jones commented on a blog post I did on Checking the SQL Server Agent Status on all SQL Servers and pointed out that my query didn&#8217;t return the Server Name with the resultset.  My first reaction/thought was &#8220;hmmm did my code not cut/paste correctly?&#8221; then it dawned on me that my default settings might [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.com/way0utwest" target="_blank">Steve Jones</a> commented on a blog post I did on <a href="http://benchmarkitconsulting.com/colin-stasiuk/2009/07/20/check-sql-server-agent-status-on-all-sql-servers/" target="_blank">Checking the SQL Server Agent Status on all SQL Servers</a> and pointed out that my query didn&#8217;t return the Server Name with the resultset.  My first reaction/thought was &#8220;hmmm did my code not cut/paste correctly?&#8221; then it dawned on me that my default settings might not be the same default settings that everyone else uses.</p>
<p>I have in my Multiserver results options that the query returns the server name to the result set.  If this is a setting you&#8217;re not familar with follow me on this to find where to change these options if desired.  In (SQL Server 2008) Management Studio click on <strong>Tools</strong> then <strong>Options</strong>.</p>
<p>In the options window Expand <strong>Query Results</strong>, then <strong>SQL Server</strong>, then select <strong>MultiServer Results</strong>&#8230; your window should look something like this now:</p>
<p><img class="alignnone size-full wp-image-858" title="opts" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/07/opts.JPG" alt="opts" width="425" height="248" /></p>
<p>Real easy to find eh? LOL</p>
<p>Let&#8217;s discuss the 3 options in here:</p>
<ul>
<li><strong>Add Login name to the results</strong>:  This will add a column to the result set with the login name of the account that executed the CMS query</li>
<li><strong>Add ServerName to the results</strong>:  This will add a column to the result set indicating the instance name that the query was ran against</li>
<li><strong>Merge Results:</strong> Setting this value to true will take all the results from your CMS query and consolidate the data into one result set as opposed to a separate resultset per instance</li>
</ul>
<p>So play around with these settings and see what works best for you</p>
<p>Enjoy!!</p>
<p><span><a href="http://benchmarkitconsulting.com" target="_blank"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" width="157" height="74" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" width="120" height="60" /> </a></span></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=CMS+Multiserver+Query+Result+Default+Settings+http://tinyurl.com/npfrp6" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/07/20/cms-multiserver-query-result-default-settings/&amp;title=CMS+Multiserver+Query+Result+Default+Settings" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/07/20/cms-multiserver-query-result-default-settings/&amp;title=CMS+Multiserver+Query+Result+Default+Settings" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/07/20/cms-multiserver-query-result-default-settings/&amp;title=CMS+Multiserver+Query+Result+Default+Settings" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2009/07/20/cms-multiserver-query-result-default-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sound Notification When Query Finishes Executing</title>
		<link>http://benchmarkitconsulting.com/colin-stasiuk/2009/03/26/sound-notification-when-query-finishes-executing/</link>
		<comments>http://benchmarkitconsulting.com/colin-stasiuk/2009/03/26/sound-notification-when-query-finishes-executing/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 16:28:27 +0000</pubDate>
		<dc:creator>Colin Stasiuk</dc:creator>
				<category><![CDATA[Benchmark IT Consulting]]></category>
		<category><![CDATA[Colin Stasiuk]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Management Studio]]></category>
		<category><![CDATA[Notification]]></category>
		<category><![CDATA[Sound]]></category>
		<category><![CDATA[SSMS]]></category>

		<guid isPermaLink="false">http://benchmarkitconsulting.com/?p=603</guid>
		<description><![CDATA[So on twitter this morning a question was asked about attaching a sound file to SQL Server Management Studio to play a sound when a query completes. So I decided to poke around the managment studio a bit and under Tools -&#62; Options if you select Query Results there is a checkbox for playing the [...]]]></description>
			<content:encoded><![CDATA[<p>So on twitter this morning a question was asked about attaching a sound file to SQL Server Management Studio to play a sound when a query completes.</p>
<p>So I decided to poke around the managment studio a bit and under Tools -&gt; Options if you select Query Results there is a checkbox for playing the default beep when a query batch completes.</p>
<p><img class="aligncenter size-full wp-image-604" title="beep" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/03/beep.jpg" alt="beep" width="702" height="585" /></p>
<p> </p>
<p>Who knew? I didn&#8217;t LOL</p>
<p>Granted this doesn&#8217;t give you the option to attach your own sound&#8230; but I imagine there are some smart folks out there that would be able to &#8220;hack-fu&#8221; something if needed hehehe <img src='http://benchmarkitconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Enjoy!!</p>
<p style="text-align: left;"><a href="http://benchmarkitconsulting.com"><img class="alignnone size-full wp-image-402" title="benchmark_sm" src="http://benchmarkitconsulting.com/wp-content/uploads/2009/02/benchmark_sm.jpg" alt="" /></a><a href="http://sqlserverpedia.com/wiki/Editors#Colin_Stasiuk" target="_blank"><img src="http://sqlserverpedia.com/badges/SQLServerPedia_Badge_Blogger.jpg" alt="" /> </a></p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Sound+Notification+When+Query+Finishes+Executing+http://tinyurl.com/cwdd88" title="Post to Twitter"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-twitter-big4.png" alt="Post to Twitter" /></a> <a class="tt" href="http://delicious.com/post?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/03/26/sound-notification-when-query-finishes-executing/&amp;title=Sound+Notification+When+Query+Finishes+Executing" title="Post to Delicious"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-delicious-big4.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/03/26/sound-notification-when-query-finishes-executing/&amp;title=Sound+Notification+When+Query+Finishes+Executing" title="Post to Digg"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-digg-big4.png" alt="Post to Digg" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://benchmarkitconsulting.com/colin-stasiuk/2009/03/26/sound-notification-when-query-finishes-executing/&amp;title=Sound+Notification+When+Query+Finishes+Executing" title="Post to StumbleUpon"><img class="nothumb" src="http://benchmarkitconsulting.com/wp-content/plugins/tweet-this/icons/tt-su-big4.png" alt="Post to StumbleUpon" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://benchmarkitconsulting.com/colin-stasiuk/2009/03/26/sound-notification-when-query-finishes-executing/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

