<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Journey to SQL Authority with Pinal Dave &#187; SQL Server Management Studio</title>
	<atom:link href="http://blog.sqlauthority.com/category/sql-server-management-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 01:30:19 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='blog.sqlauthority.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/08e35387c05b61340e885b1763a69d9f?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Journey to SQL Authority with Pinal Dave &#187; SQL Server Management Studio</title>
		<link>http://blog.sqlauthority.com</link>
	</image>
			<item>
		<title>SQL SERVER &#8211; SQL Server Management Studio and Client Statistics</title>
		<link>http://blog.sqlauthority.com/2009/10/01/sql-server-sql-server-management-studio-and-client-statistics/</link>
		<comments>http://blog.sqlauthority.com/2009/10/01/sql-server-sql-server-management-studio-and-client-statistics/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 01:30:24 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Statistics]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6938</guid>
		<description><![CDATA[Client Statistics is very important. Many a time, people relate queries execution plan with query cost. This is not a good comparison. Both are different parameters, and they are not always related. It is possible that the query cost of any statement is less, but the amount of the data returned is considerably large, which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6938&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Client Statistics is very important. Many a time, people relate queries execution plan with query cost. This is not a good comparison. Both are different parameters, and they are not always related. It is possible that the query cost of any statement is less, but the amount of the data returned is considerably large, which is causing any query to run slow. How do we know if any query is retrieving a large amount data or very little data? In one way, it is quite easy to figure this out by just looking at the result set; however, this method cannot be relied upon all the time as it is difficult to reach a conclusion when there are many columns and many rows.</p>
<p style="text-align:justify;">To measure how much data is retrieved from server to client side is very simple. SQL Server Management Studio has feature that can measure client statistics. There are three different ways to enable client statistics.</p>
<p style="text-align:justify;"><strong>Method 1</strong></p>
<p style="text-align:justify;">Press SHIFT+ALT+S together.</p>
<p style="text-align:justify;"><strong>Method 2</strong></p>
<p style="text-align:justify;">Go to Menu &gt;&gt; Query &gt;&gt; Include Client Statistics</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/clientstats1.jpg" alt="" width="500" height="435" /></p>
<p style="text-align:justify;"><strong>Method 3</strong></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/clientstats2.jpg" alt="" width="500" height="126" /></p>
<p style="text-align:justify;">Once you enable the client statistics, it will display another tab in the result span; when clicked, we obtain the following:</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/clientstats3.jpg" alt="" width="500" height="347" /></p>
<p style="text-align:justify;">As shown in the image, it will capture details for different trials and they are compared with each other. Green arrows indicate improved statistics and red arrows indicate degrading statistics. Please note that here an increase does not always imply a good result; sometimes some statistics when marked as “up” can imply a bad result as well. For the same reason, they are colored in green and red, signifying good and bad results, respectively.</p>
<p style="text-align:justify;">A maximum of 10 trials are averaged in the display window. When the11th trial comes into the result, the very first trial is dropped, keeping total average of latest 10 trials. There are many other aspects about client statistics; these shall be discussed in other articles.</p>
<p style="text-align:justify;">Do you use this particular feature of SQL Server? If you do, what do you use it for?</p>
<p style="text-align:justify;">
<p style="text-align:justify;">Reference: <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<p style="text-align:justify;">
Posted in Pinal Dave, SQL, SQL Authority, SQL Query, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, T SQL, Technology Tagged: Statistics <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/6938/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/6938/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/6938/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/6938/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/6938/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/6938/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/6938/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/6938/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/6938/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/6938/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6938&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/10/01/sql-server-sql-server-management-studio-and-client-statistics/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/clientstats1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/clientstats2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/clientstats3.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Plan Caching and Schema Change &#8211; An Interesting Observation</title>
		<link>http://blog.sqlauthority.com/2009/09/14/sql-server-plan-caching-and-schema-change-an-interesting-observation/</link>
		<comments>http://blog.sqlauthority.com/2009/09/14/sql-server-plan-caching-and-schema-change-an-interesting-observation/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 01:30:10 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[Readers Question]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Documentation]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Stored Procedure]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQL White Papers]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Cache]]></category>
		<category><![CDATA[SQL Profiler]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6756</guid>
		<description><![CDATA[Last week, I had published details regarding SQL SERVER – Plan Caching in SQL Server 2008 by Greg Low on this blog. Similar to any other white paper, I have read this paper very carefully and enjoyed reading it. One particular topic in the white paper that caught my attention is definition of schema change. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6756&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Last week, I had published details regarding <a href="http://blog.sqlauthority.com/2009/08/29/sql-server-plan-caching-in-sql-server-2008-by-greg-low/" target="_blank">SQL SERVER – Plan Caching in SQL Server 2008 by Greg Low</a> on this blog. Similar to any other white paper, I have read this paper very carefully and enjoyed reading it. One particular topic in the white paper that caught my attention is definition of schema change. I was well aware of this definition, but I have often found that users are not familiar with what exactly does a schema change mean.</p>
<p style="text-align:justify;">Many people assume that a change in the table structure is schema change. In fact, creating or dropping index on any table also qualifies as schema change.</p>
<p style="text-align:justify;">As per the white paper, “Schema change” is defined as follows:</p>
<ul style="text-align:justify;">
<li>Adding      or dropping columns to a table or view.</li>
<li>Adding      or dropping constraints, defaults, or rules to/from a table.</li>
<li><em>Adding an index to a table or an indexed view.</em></li>
<li><em>Dropping an index defined on a table or an indexed view (only      if the index is used by the query plan in question).</em></li>
<li>Dropping      a statistic (not creating or updating!) defined on a table will cause a      correctness-related recompilation of any query plans that use that table.      Such recompilations occur at that instant when the query plan in question      begins execution. Updating a statistic (both manual and auto-update) will      cause an optimality-related (data related) recompilation of any query      plans that uses this statistic.</li>
</ul>
<p style="text-align:justify;">As per the above definition, I decided to experiment with schema change. In white paper, it was mentioned that schema change will recompile the execution batch. I decided to test this out. I created a small script (given below) and decided to test it.</p>
<p style="text-align:justify;">As per the script, I created a large table and stored the procedure that was accessing that table. I created another object that was an index to the table; when SP was ran with index on table, it showed a plan different from that without the index on table. It was evident that the batch was recompiled when the index on the table was modified.</p>
<p style="text-align:justify;"><a href="http://www.pinaldave.com/sql-download/scripts/planchange.zip" target="_blank">The script is available here to download.</a></p>
<p style="text-align:justify;"><strong>Without Index execution plan:</strong></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/exindex.jpg" alt="" width="500" height="140" /></p>
<p style="text-align:justify;"><strong>With Index execution plan:</strong></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/exnoindex.jpg" alt="" width="502" height="149" /></p>
<p style="text-align:justify;">
<p>It is clear from the execution plan that it is different, and this proves the point that schema change recompiles the execution plan.</p>
<p>There is one more script provided in the white paper, which gets data from DMV related to cached plan. When I ran the following SP, it did not give me very interesting results.</p>
<p><code style="font-size:12px;"><span style="color:blue;">SELECT </span><span style="color:black;">cp.objtype </span><span style="color:blue;">AS </span><span style="color:black;">PlanType</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">OBJECT_NAME</span><span style="color:gray;">(</span><span style="color:black;">st.objectid</span><span style="color:gray;">,</span><span style="color:black;">st.dbid</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">ObjectName</span><span style="color:gray;">,<br />
</span><span style="color:black;">cp.refcounts </span><span style="color:blue;">AS </span><span style="color:black;">ReferenceCounts</span><span style="color:gray;">,<br />
</span><span style="color:black;">cp.usecounts </span><span style="color:blue;">AS </span><span style="color:black;">UseCounts</span><span style="color:gray;">,<br />
</span><span style="color:black;">st.</span><span style="color:blue;">TEXT AS </span><span style="color:black;">SQLBatch</span><span style="color:gray;">,<br />
</span><span style="color:black;">qp.query_plan </span><span style="color:blue;">AS </span><span style="color:black;">QueryPlan<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.dm_exec_cached_plans </span><span style="color:blue;">AS </span><span style="color:black;">cp<br />
</span><span style="color:gray;">CROSS </span><span style="color:black;">APPLY sys.dm_exec_query_plan</span><span style="color:gray;">(</span><span style="color:black;">cp.plan_handle</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">qp<br />
</span><span style="color:gray;">CROSS </span><span style="color:black;">APPLY sys.dm_exec_sql_text</span><span style="color:gray;">(</span><span style="color:black;">cp.plan_handle</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">st</span><span style="color:gray;">;</span></code></p>
<p><span style="color:gray;"><img class="alignnone" src="http://www.pinaldave.com/bimg/exusecount.jpg" alt="" width="499" height="168" /><br />
</span></p>
<p>When I ran the above script, I found that the UseCount column did not reset when QueryPlan is changed. This was very surprising as I was expecting UseCount to reset on changing the query plan. I sent an email to <a href="http://www.solidq.com.au/" target="_blank">Dr. Greg Low</a>, who is author of this white paper. He was very kind to respond back within minutes with a proper answer, which is as follows:</p>
<p><strong><em>You’ll notice in Profiler when you run the sproc after creating the index that it does in fact cause a recompile. However, in SQL Server 2008 (and 2005), these are statement level recompiles not proc level recompiles. I imagine that’s why they’re not reflected in the UseCount values ie: the plan itself isn’t recompiled and that’s what the counts are based on.</em></strong></p>
<p><img class="alignnone" src="http://www.pinaldave.com/bimg/exprofiler.jpg" alt="" width="560" height="120" /></p>
<p style="text-align:justify;">Well, this simple explanation clarified my doubts. Let me know what you think, and I strongly suggest you all to read the <a href="http://blog.sqlauthority.com/2009/08/29/sql-server-plan-caching-in-sql-server-2008-by-greg-low/" target="_blank">white paper</a> written by Dr. Greg Low.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.sqlauthority.com</strong></a><strong>)</strong></p>
Posted in Pinal Dave, Readers Question, SQL, SQL Authority, SQL Documentation, SQL Query, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Stored Procedure, SQL Tips and Tricks, SQL Utility, SQL White Papers, T SQL, Technology Tagged: SQL Cache, SQL Profiler <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/6756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/6756/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/6756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/6756/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/6756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/6756/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/6756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/6756/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/6756/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/6756/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6756&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/09/14/sql-server-plan-caching-and-schema-change-an-interesting-observation/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/exindex.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/exnoindex.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/exusecount.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/exprofiler.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Forgot the Password of Username SA</title>
		<link>http://blog.sqlauthority.com/2009/08/04/sql-server-forgot-the-password-of-username-sa/</link>
		<comments>http://blog.sqlauthority.com/2009/08/04/sql-server-forgot-the-password-of-username-sa/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 01:30:24 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Security]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[Username]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=6268</guid>
		<description><![CDATA[I just received a call from an old friend with whom I used to work in Las Vegas. He told me about a password-related issue he faced in his organization. They had changed the password of username SA and now they are not able to recall the new password. I am sure that he is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6268&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">I just received a call from an old friend with whom I used to work in Las Vegas. He told me about a password-related issue he faced in his organization. They had changed the password of username SA and now they are not able to recall the new password. I am sure that he is not the first person who has faced this issue. There may be many more similar situations where employees who have sysamin password leaves the job or a hacker disables the SA account.</p>
<p style="text-align:justify;">Resetting the password of SA is a breeze!</p>
<p style="text-align:justify;"><strong>Option 1 :</strong></p>
<p style="text-align:justify;">If there is any other SQL Server Login that is a member of sysadmin role, you can log in using that account and reset the password of SQL Server. Change the password of SA account as described here :  <a href="http://blog.sqlauthority.com/2007/12/29/sql-server-change-password-of-sa-login-using-management-studio/" target="_blank">SQL SERVER – Change Password of SA Login Using Management Studio</a>.</p>
<p style="text-align:justify;"><strong>Option 2 :</strong></p>
<p style="text-align:justify;">If there is any other Windows Login that is a member of Windows Admin Group, log in using that account. Start SQL Server in Single User Mode as described here :  <a href="http://blog.sqlauthority.com/2009/02/10/sql-server-start-sql-server-instance-in-single-user-mode/" target="_blank">SQL SERVER – Start SQL Server Instance in Single User Mode</a>.<br />
Create a new login and give it sysadmin permission.
</p>
<p style="text-align:justify;">Note : If you have SQL Server Agent enabled, it starts before SQL Server service. If you have enabled SQL Server in a single user mode, it will connect it first, so it is recommended to turn that off before attempting any of the above options.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
Posted in Pinal Dave, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Security, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, T SQL, Technology Tagged: Password, Username <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/6268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/6268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/6268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/6268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/6268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/6268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/6268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/6268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/6268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/6268/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=6268&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/08/04/sql-server-forgot-the-password-of-username-sa/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Maximizing View of SQL Server Management Studio &#8211; Full Screen &#8211; New Screen</title>
		<link>http://blog.sqlauthority.com/2009/07/24/sql-server-maximizing-view-of-sql-server-management-studio-full-screen-new-screen/</link>
		<comments>http://blog.sqlauthority.com/2009/07/24/sql-server-maximizing-view-of-sql-server-management-studio-full-screen-new-screen/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 01:30:59 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5944</guid>
		<description><![CDATA[I had a great, unforgettable time at Teched India 2009 in Hyderabad. I had delivered a successful session on SQL Server Management Studio Best Practices, which created a lot of interest in community. I was truly amazed at the tremendous response I got. I received countless different questions on this subject as soon as the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5944&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">I had a great, unforgettable time at <strong><a href="http://blog.sqlauthority.com/2009/06/02/sqlauthority-news-summary-of-teched-india-2009-a-grand-event/" target="_blank">Teched India 2009</a></strong> in Hyderabad. I had delivered a successful session on SQL Server Management Studio Best Practices, which created a lot of interest in community. I was truly amazed at the tremendous response I got. I received countless different questions on this subject as soon as the event was over. One of the most frequently asked questions was about my demo on how to increase real estate of SSMS (SQL Server Management Studio).</p>
<p style="text-align:justify;">I had explained the following two different methods:</p>
<p style="text-align:justify;"><strong>1) Open Results in Separate Tab</strong></p>
<p style="text-align:justify;">This is a very interesting method as result pan shows up in a different tab instead of the splitting screen horizontally.</p>
<p style="text-align:justify;">To enable this, first go to Tools &gt;&gt; Options &gt;&gt; Query Results &gt;&gt; Result to Grid (or Text) &gt;&gt; Enable Display results in a separate tab.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/newtab.jpg" alt="" width="500" height="291" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/newtab1.jpg" alt="" width="400" height="200" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/newtab2.jpg" alt="" width="400" height="200" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/newtab3.jpg" alt="" width="400" height="200" /></p>
<p style="text-align:justify;">If you want to switch to a result set after the results are generated enable additional check box of &#8216;Switch to results tab after the query executes&#8217;. I do not find this option comfortable, as while working on query my focus on the working windows suddenly shifts to new windows.</p>
<p style="text-align:justify;"><strong>2) Open SSMS in Full Screen</strong></p>
<p style="text-align:justify;">This works always and to its best. Not many people are aware of this method; hence, very few people use it to enhance performance.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/newtab4.jpg" alt="" width="500" height="415" /></p>
<p style="text-align:justify;">Press <strong>Shift + Alter + Enter</strong> to enable full screen on computer.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/newtab5.jpg" alt="" width="500" height="416" /></p>
<p style="text-align:justify;">In my opinion, by using the above both the options running together one can certainly increase more work area on computer screen. Are you using any of these options? Please share me with by leaving your comments here.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
<p style="text-align:justify;">
Posted in Pinal Dave, SQL, SQL Authority, SQL Query, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/5944/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/5944/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/5944/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/5944/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/5944/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/5944/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/5944/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/5944/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/5944/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/5944/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5944&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/07/24/sql-server-maximizing-view-of-sql-server-management-studio-full-screen-new-screen/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/newtab.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/newtab1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/newtab2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/newtab3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/newtab4.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/newtab5.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; 2008 &#8211; Management Studio New Features</title>
		<link>http://blog.sqlauthority.com/2009/06/28/sql-server-2008-management-studio-new-features-2/</link>
		<comments>http://blog.sqlauthority.com/2009/06/28/sql-server-2008-management-studio-new-features-2/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 01:30:57 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5706</guid>
		<description><![CDATA[This article describes the top 5 features of SQL Server Management Studio 2008. With the release of SQL Server 2008 Microsoft has upgraded SSMS with many new features as well as added tons of new functionalities requested by DBAs for long time.
SQL Server 2008 has been released for a year now. In SQL Server 2000, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5706&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">This article describes the top 5 features of SQL Server Management Studio 2008. With the release of SQL Server 2008 Microsoft has upgraded SSMS with many new features as well as added tons of new functionalities requested by DBAs for long time.</p>
<p style="text-align:justify;">SQL Server 2008 has been released for a year now. In SQL Server 2000, DBA had to use two different tools to maintain the database as well as the query database, specifically SQL Server Enterprise Manager and SQL Server Query Analyzer. With the release of SQL Server 2005 both of these tools are combined into one tool: SQL Server Management Studio. For a while DBA who were fan of Query Analyzer requested to bring it back but as they keep on using SQL Server Management Studio (SSMS) they realized that it was much more convenient if every task related to SQL Server could be accomplished using SSMS. With the release of SQL Server 2008 Microsoft has upgraded SSMS with many new features as well as added tons of new functionalities requested by DBAs for long time.</p>
<p style="text-align:justify;">Let us go over a few of the important new features of the SSMS 2008. The list of SQL Server 2008 SSMS improvements is very long. I have selected my favorite 5 features and we will go over them.</p>
<ol style="text-align:justify;">
<li>IntelliSense for Query Editing</li>
<li>Multi Server Query</li>
<li>Query Editor Regions</li>
<li>Object Explorer Enhancements</li>
<li>Activity Monitors</li>
</ol>
<h3 style="text-align:justify;">IntelliSense for Query Editing</h3>
<p style="text-align:justify;">This is my favorite feature so far. If you have used Visual Studio before, this feature may not be new to you. Implementation of IntelliSense is not as advanced as in Visual Studio but it is still very useful and well implemented.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/sql-features-1.jpg" alt="" width="354" height="264" /></p>
<p style="text-align:justify;">After implementing IntelliSense, DBAs and developers will not have to remember all the syntax or browse online references. IntelliSense offers a few additional features besides just completing the world. You can see those option from SSMS Menu &gt;&gt; Edit &gt;&gt; IntelliSense &gt;&gt; (See the available options)</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/sql-features-2.jpg" alt="" width="463" height="456" /></p>
<p style="text-align:justify;">There are a total of five options available in Edit Menu. I suggest to experiment with all of them while playing with IntelliSense.</p>
<ol style="text-align:justify;">
<li>List Members</li>
<li>Parameter Info</li>
<li>Quick Info</li>
<li>Complete Word</li>
<li>Refresh Local Cache</li>
</ol>
<p style="text-align:justify;">If your IntelliSense does not bring up recently created objects, try “Refresh Local Cache” as described above, or press CTRL + SHIFT + R.</p>
<p style="text-align:justify;">IntelliSense is a new feature and it will take some time to get adjusted to it. If any developer does not like this option, it can be turned off from Menu &gt;&gt; Query &gt;&gt; (deselect) Enable IntelliSense.</p>
<h3 style="text-align:justify;"><strong>MultiServer Query</strong></h3>
<p style="text-align:justify;">Usually DBA don’t manage only one database; they have many servers to manage. There are cases when DBA has to check the status of all the servers. I have seen one of the DBA who used to manage 400 servers, writing query using XML_CMDSHELL where he wanted to find out what the status of fullback up on all the servers was. In one of the recent consultancy job, when I had to find out if all the three servers were upgraded with Services Packs (SP), I ran a query to find version information on all the three instance separately in three windows.</p>
<p style="text-align:justify;">SSMS 2008 has a feature to run a query on different servers from one query editor window. First of all make sure that you registered all the servers under your registered server. Once they are registered Right Click on server group name and click New Query as shown in the image below.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/sql-features-3.jpg" alt="" /></p>
<p style="text-align:justify;">Now in the opened query window run the following query (you can find it in the sample code for this article):</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">SELECT<br />
</span><span style="color:magenta;">SERVERPROPERTY</span><span style="color:gray;">(</span><span style="color:red;">'Edition'</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Edition</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">SERVERPROPERTY</span><span style="color:gray;">(</span><span style="color:red;">'ProductLevel'</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">ProductLevel</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">SERVERPROPERTY</span><span style="color:gray;">(</span><span style="color:red;">'ProductVersion'</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">ProductVersion</span></code>
</p>
<p style="text-align:justify;">Query above will give the result shown in the image below. Note that we have only three columns in the SELECT but our output contains four columns. The very first column is the “Server Name” and it is added by SQL Server to indentify rows belonging to a specific server.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/sql-features-4.jpg" alt="" /></p>
<p style="text-align:justify;">If all of the above servers are registered with “central server” &#8211; the option which is right below it, other administrators can also register to those entire servers by simple registering one central server.</p>
<h3 style="text-align:justify;"><strong>Query Editor Regions</strong></h3>
<p style="text-align:justify;">This feature exists in many programming languages already but now it is newly introduced in SSMS 2008. The reason I am highlighting this feature is because there are cases when T-SQL code is longer than hundreds of lines and after a while it keeps on getting confusing.</p>
<p style="text-align:justify;">The regions are defined by the following hierarchy:</p>
<ol style="text-align:justify;">
<li>From first GO command to next GO command.</li>
<li>Statements between BEGIN – END, BEGIN TRY – END TRY, BEGIN CATCH – END CATCH</li>
<li>Multiline statements</li>
</ol>
<p style="text-align:justify;">In the following code snippet I have reported an example which has five coding regions (you can find it in the sample code for this article). I have made small comment besides them describing their region type.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">CREATE PROCEDURE </span><span style="color:black;">MyTest </span><span style="color:green;">-- Region Type 1<br />
</span><span style="color:blue;">AS<br />
BEGIN </span><span style="color:green;">-- Region Type 2<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">1<br />
</span><span style="color:blue;">BEGIN </span><span style="color:green;">-- Region Type 2<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">2</span><span style="color:gray;">;<br />
</span><span style="color:blue;">SELECT </span><span style="color:gray;">* </span><span style="color:green;">-- Region Type 3<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.objects</span><span style="color:gray;">;<br />
</span><span style="color:blue;">SELECT </span><span style="color:gray;">* </span><span style="color:green;">-- Region Type 3<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.columns</span><span style="color:gray;">;<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">3</span><span style="color:gray;">;<br />
</span><span style="color:blue;">END<br />
END<br />
</span><span style="color:black;">GO </span></code><code style="font-size:12px;"><span style="color:black;"><br />
</span></code><code style="font-size:12px;"></code><code style="font-size:12px;"></code>
</p>
<p style="text-align:justify;">Regions can be collapsed as well as expanded by clicking the small sign of ‘-’ or ‘+’ besides them. The following image shows a fully expanded region code snippet and a fully collapsed code snippet.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/sql-features-5.jpg" alt="" /></p>
<p style="text-align:justify;">If there is any single-line statement, it does not qualify for a coding region.</p>
<h3 style="text-align:justify;">Object Explorer Enhancements</h3>
<p style="text-align:justify;">Object Explorer Detail initially looks the same as the previous version but when right clicked on the bar with labels it reveals what it can do. This feature looks the same as the Vista OS folder option but when looked at how it is implemented for SQL Server data, it is really amazing. Object Explorer Detail view can be enabled by either going to Menu &gt;&gt; View &gt;&gt; Object Explorer Detail or pressing F7.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/sql-features-6.jpg" alt="" /></p>
<p style="text-align:justify;">In Object Explorer Detail the new feature is Object Search. Enter any object name in the object search box and the searched result will be displayed in the same window as Object Explorer Detail.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/sql-features-7.jpg" alt="" /></p>
<p style="text-align:justify;">Additionally, there are new wizards which help you perform several tasks, from policy management to disk monitoring. One cool thing is that everything displayed in the object explorer details screen can be right away copied and pasted to Excel without any formatting issue.</p>
<h3 style="text-align:justify;">Activity Monitors</h3>
<p style="text-align:justify;">This feature is totally revamped in SSMS 2008. When opening “Activity Monitor” it shows a screen similar to the following image.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/sql-features-8.jpg" alt="" /></p>
<p style="text-align:justify;">There are four graphs 1) % Processor Time, 2) Waiting Tasks, 3) Database I/O, 4) Batch Requests/Sec</p>
<p style="text-align:justify;">Additionally, there are four tabs which also reflect some statistics of the above four graphs 1) Processes, 2) Resource Waits, 3) Data File I/O, 4) Recent Expensive Queries. Clicking on the tables will expand the tabs as shown in the following image.</p>
<p style="text-align:justify;">All the four tabs provide very important information, however the one which I refer most is ‘Recent Expensive Queries’. Whenever I find my server running slow or having any performance related issues my first reaction is to open this tab and see which query is running slow. I usually look at the query with the highest number for Average Duration. The Recent Expensive Queries monitors only show queries which are in the SQL Server cache at that moment.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/sql-features-9.jpg" alt="" /></p>
<h3 style="text-align:justify;">Summary</h3>
<p style="text-align:justify;">There are lots of new features of SSMS 2008. The ones I have listed today are the most prominent and my personal favorites.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>), </strong><a href="http://dotnetslackers.com/articles/sql/SQL-Server-2008-Management-Studio-New-Features.aspx" target="_blank">dotnetslackers </a></p>
Posted in Pinal Dave, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/5706/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/5706/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/5706/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/5706/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/5706/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/5706/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/5706/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/5706/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/5706/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/5706/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5706&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/06/28/sql-server-2008-management-studio-new-features-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/sql-features-1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/sql-features-2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/sql-features-3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/sql-features-4.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/sql-features-5.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/sql-features-6.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/sql-features-7.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/sql-features-8.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/sql-features-9.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; 2008 &#8211; SSMS Feature &#8211; Multi-server Queries</title>
		<link>http://blog.sqlauthority.com/2009/06/14/sql-server-2008-ssms-feature-multi-server-queries/</link>
		<comments>http://blog.sqlauthority.com/2009/06/14/sql-server-2008-ssms-feature-multi-server-queries/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 01:30:52 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5352</guid>
		<description><![CDATA[In my recent visit to TechEd India 2009 at Hyderabad, I had taken a technical session on SQL Server Management Studio 2008 New Features, which was attended by a huge number of participants and was very successful. I got loads of requests from my readers for posting the session online. My presentation involved several videos [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5352&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">In my recent visit to <strong><a href="http://blog.sqlauthority.com/2009/05/14/sqlauthority-news-teched-india-2009-day-1-authors-tech-session-sql-server-cheat-sheet-meeting-great-people/" target="_blank">TechEd India 2009 at Hyderabad</a></strong>, I had taken a technical session on SQL Server Management Studio 2008 New Features, which was attended by a huge number of participants and was very successful. I got loads of requests from my readers for posting the session online. My presentation involved several videos and demos, so practically it is not possible for me to post my original session online. But as I do not want to disappoint my readers I have one solution; what I can do is that I can share some valuable tips from the session with you all.</p>
<p style="text-align:justify;">Using SQL Server Management Studio (SSMS) DBAs can now query multiple servers from one window. It is quite common for DBAs with large amount of servers to maintain and gather information from multiple SQL Servers and create report. This feature is a blessing for the DBAs, as they can now assemble all the information instantaneously without going anywhere.</p>
<p style="text-align:justify;">Prior to running a multi-server query, it is mandatory to first create a Registered SQL Server Group with the desired servers.</p>
<p style="text-align:justify;">Create Registered Servers Group:</p>
<p style="text-align:justify;">Go to Toolbar &gt;&gt; Views &gt;&gt; Registered Servers</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/multis.jpg" alt="" width="448" height="384" /></p>
<p style="text-align:justify;">
<p style="text-align:justify;">In the opened window, Right Click on Local Server Groups and add a new server.</p>
<p style="text-align:justify;">After all the desired servers are added run the following query in Query Editor. It will produce the result from all the registered servers. Make sure that when Queries are run on the left side the entire group of servers is selected. In the following example, Local Server Groups node is selected.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">SELECT </span><span style="color:magenta;">SERVERPROPERTY</span><span style="color:gray;">(</span><span style="color:red;">'Edition'</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">Edition</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">SERVERPROPERTY</span><span style="color:gray;">(</span><span style="color:red;">'ProductLevel'</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">ProductLevel</span><span style="color:gray;">,<br />
</span><span style="color:magenta;">SERVERPROPERTY</span><span style="color:gray;">(</span><span style="color:red;">'ProductVersion'</span><span style="color:gray;">) </span><span style="color:blue;">AS </span><span style="color:black;">ProductVersion<br />
GO</span></code>
</p>
<p style="text-align:justify;">In my local machine, two different SQL Server 2008 are installed: SQL Server Dev Enterprise and SQL Server Express. These queries bring back two rows with expected results. Another thing to notice is that even though we have not selected, this result has brought back additional column of Server Name. This additional column has been added to differentiate our resultset and indicate which row belongs to which server.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/multis1.jpg" alt="" width="500" height="140" /></p>
<p style="text-align:justify;">In my case, I have only two registered servers, but it is absolutely possible to have hundreds of SQL Servers registered as group. If user wants to query few selected servers, it is presently not possible to make selection from server groups. User will have to create a new server group and the registered selected servers all over again. This is possible as one SQL Server can belong to multiple SQL Servers.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
Posted in Pinal Dave, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/5352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/5352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/5352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/5352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/5352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/5352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/5352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/5352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/5352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/5352/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5352&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/06/14/sql-server-2008-ssms-feature-multi-server-queries/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/multis.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/multis1.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; 2008 &#8211; Customize Toolbar &#8211; Remove Debug Button from Toolbar</title>
		<link>http://blog.sqlauthority.com/2009/06/12/sql-server-2008-customize-toolbar-remove-debug-button-from-toolbar/</link>
		<comments>http://blog.sqlauthority.com/2009/06/12/sql-server-2008-customize-toolbar-remove-debug-button-from-toolbar/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 01:30:58 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5430</guid>
		<description><![CDATA[In today’s article I have combined two different questions. I was fond of SQL Server Debugger feature in SQL Server 2000. To my utter disappointment, this feature was withdrawn from SQL Server 2005. However, because of loads of requests from developers it was re-introduced in SQL Server 2008.
Developers were extremely happy with &#8220;return of debugger&#8221;, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5430&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">In today’s article I have combined two different questions. I was fond of SQL Server Debugger feature in SQL Server 2000. To my utter disappointment, this feature was withdrawn from SQL Server 2005. However, because of loads of requests from developers it was re-introduced in SQL Server 2008.</p>
<p style="text-align:justify;">Developers were extremely happy with &#8220;return of debugger&#8221;, however, it issued forth a new problem. The button of debugger is similar to a play button and is used to run debugging commands of Visual Studio. For SQL Server, the button to execute code is exclamation mark (!).  Both these buttons are placed very close to each other, which confuses developers. Developers want to debug code in Visual Studio but the same debugging is completely different in SQL Server. Developers want to execute the code in SQL Server Management Studio.</p>
<p style="text-align:justify;">Because of this reason, it gets very much infuriating for developers when they are developing on both &#8211; Visual Studio and SSMS. However, there is a very simple solution to this perplexing problem. Simply remove the button of debugger from tool bar. Customization of toolbar is a very helpful feature. Developers have the option to add many more buttons and remove any desired button from SSMS.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/cust1.jpg" alt="" width="490" height="202" /></p>
<p style="text-align:justify;">Let us now see how we can remove debugging button from SQL Server Management Studio.</p>
<p style="text-align:justify;">Click on a small arrow on the extreme right side of the toolbar. It will bring down menu -&#8221;Add or Remove Buttons&#8221;. Next, go to &#8220;Customization&#8221;.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/cust2.jpg" alt="" width="478" height="204" /></p>
<p style="text-align:justify;">Click on the button at the bottom of the screen with label &#8220;Rearrange Commands&#8230;&#8221;.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/cust3.jpg" alt="" width="615" height="475" /></p>
<p style="text-align:justify;">On the screen of &#8220;Rearrange Commands&#8221; select the radio button of &#8220;Toolbar&#8221;. Once that is selected, on the right side of the drop down bring up &#8220;SQL Editor&#8221;. After that, click on &#8220;Debug&#8221; and remove by clicking &#8220;Delete&#8221;.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/cust4.jpg" alt="" width="500" height="580" /></p>
<p style="text-align:justify;">Now, your toolbar will not have debug button anymore. If you have ever customized your SSMS, I am interested to learn the reason behind it and the benefits you gained upon customization.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/cust5.jpg" alt="" width="384" height="176" /></p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
Posted in Pinal Dave, SQL, SQL Add-On, SQL Authority, SQL Query, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/5430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/5430/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/5430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/5430/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/5430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/5430/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/5430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/5430/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/5430/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/5430/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5430&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/06/12/sql-server-2008-customize-toolbar-remove-debug-button-from-toolbar/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/cust1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/cust2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/cust3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/cust4.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/cust5.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Create Multiple Filegroup For Single Database</title>
		<link>http://blog.sqlauthority.com/2009/05/31/sql-server-create-multiple-filegroup-for-single-database/</link>
		<comments>http://blog.sqlauthority.com/2009/05/31/sql-server-create-multiple-filegroup-for-single-database/#comments</comments>
		<pubDate>Sun, 31 May 2009 01:30:35 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[Readers Question]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5285</guid>
		<description><![CDATA[I am elated to receive hundreds of emails every day from my readers. My tight work schedule refrains me from answering all your questions, but I do try my best to entertain them whenever I can. Today&#8217;s post revolves around a question I received a number of times last year but never blogged on it. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5285&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I am elated to receive hundreds of emails every day from my readers. My tight work schedule refrains me from answering all your questions, but I do try my best to entertain them whenever I can. Today&#8217;s post revolves around a question I received a number of times last year but never blogged on it. On positive side, you are reading about that interesting subject today.</p>
<p>The question is &#8211; <strong>How to create multiple filegroup for any database?</strong></p>
<p>To find solution to this query, we will go through the following four cases.</p>
<p>1) Creating New Database</p>
<p style="padding-left:30px;">a) Using T-SQL<br />
b) Using SSMS</p>
<p>2) Updating Existing Database and Adding Filegroup
</p>
<p style="padding-left:30px;">a) Using T-SQL<br />
b) Using SSMS</p>
<p>Let us go over each of the cases one by one.</p>
<p><strong>1) Creating New Database</strong><br />
<strong>a) Using T-SQL</strong></p>
<p><code style="font-size:12px;"><span style="color:blue;">CREATE DATABASE </span><span style="color:black;">[FGTest] </span><span style="color:blue;">ON  PRIMARY<br />
</span><span style="color:gray;">( </span><span style="color:black;">NAME </span><span style="color:blue;">= </span><span style="color:red;">N'FGTest'</span><span style="color:gray;">,<br />
</span><span style="color:black;">FILENAME </span><span style="color:blue;">= </span><span style="color:red;">N'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\FGTest.mdf' </span><span style="color:gray;">,<br />
</span><span style="color:black;">SIZE </span><span style="color:blue;">= </span><span style="color:black;">3072KB </span><span style="color:gray;">, </span><span style="color:black;">FILEGROWTH </span><span style="color:blue;">= </span><span style="color:black;">1024KB </span><span style="color:gray;">),<br />
</span><span style="color:black;">FILEGROUP [Secondary]<br />
</span><span style="color:gray;">( </span><span style="color:black;">NAME </span><span style="color:blue;">= </span><span style="color:red;">N'FGTest_2'</span><span style="color:gray;">,<br />
</span><span style="color:black;">FILENAME </span><span style="color:blue;">= </span><span style="color:red;">N'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\FGTest_2.ndf' </span><span style="color:gray;">,<br />
</span><span style="color:black;">SIZE </span><span style="color:blue;">= </span><span style="color:black;">3072KB </span><span style="color:gray;">, </span><span style="color:black;">FILEGROWTH </span><span style="color:blue;">= </span><span style="color:black;">1024KB </span><span style="color:gray;">)<br />
</span><span style="color:magenta;">LOG </span><span style="color:blue;">ON<br />
</span><span style="color:gray;">( </span><span style="color:black;">NAME </span><span style="color:blue;">= </span><span style="color:red;">N'FGTest_log'</span><span style="color:gray;">,<br />
</span><span style="color:black;">FILENAME </span><span style="color:blue;">= </span><span style="color:red;">N'C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\FGTest_log.ldf' </span><span style="color:gray;">,<br />
</span><span style="color:black;">SIZE </span><span style="color:blue;">= </span><span style="color:black;">1024KB </span><span style="color:gray;">, </span><span style="color:black;">FILEGROWTH </span><span style="color:blue;">= </span><span style="color:black;">10</span><span style="color:gray;">%)<br />
</span><span style="color:black;">GO</span></code></p>
<p><code style="font-size:12px;"><span style="color:black;"> </span></code><strong>b) Using SSMS</strong></p>
<p><strong><img class="alignnone" src="http://www.pinaldave.com/bimg/ndf1.jpg" alt="" width="500" height="380" /></strong></p>
<p><strong><img class="alignnone" src="http://www.pinaldave.com/bimg/ndf2.jpg" alt="" width="500" height="380" /></strong></p>
<p><strong><img class="alignnone" src="http://www.pinaldave.com/bimg/ndf3.jpg" alt="" width="396" height="254" /></strong></p>
<p><strong><img class="alignnone" src="http://www.pinaldave.com/bimg/ndf4.jpg" alt="" width="500" height="380" /></strong></p>
<p><strong>2) Updating Existing Database and Adding Filegroup</strong></p>
<p>Updating existing database is much simpler compared with adding filegroup to new database. Let us take a look at how quickly it can be completed in a few simple steps.</p>
<p><strong>a) Using T-SQL</strong><br />
We will add a Third filegroup to the same database where we added secondary filegroup in the above example.</p>
<p><code style="font-size:12px;"><span style="color:blue;">USE </span><span style="color:black;">[master]<br />
GO<br />
</span><span style="color:blue;">ALTER DATABASE </span><span style="color:black;">[FGTest] </span><span style="color:blue;">ADD </span><span style="color:black;">FILEGROUP [Third]<br />
GO </span></code></p>
<p><strong>b) Using SSMS<br />
</strong>Right click on the database and go to properties and filegroup. Add new filegroup by simply adding name.</p>
<p><strong><span style="font-weight:normal;"><img class="alignnone" src="http://www.pinaldave.com/bimg/ndf5.jpg" alt="" width="500" height="449" /></span></strong></p>
<p>I encourage all my readers to keep mailing me send in your questions and doubts. I will certainly take them up at some point of time.</p>
<p>Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
Posted in Pinal Dave, Readers Question, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/5285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/5285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/5285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/5285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/5285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/5285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/5285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/5285/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/5285/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/5285/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5285&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/05/31/sql-server-create-multiple-filegroup-for-single-database/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/ndf1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/ndf2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/ndf3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/ndf4.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/ndf5.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; FIX : ERROR : (provider: Named Pipes Provider, error: 40 &#8211; Could not open a connection to SQL Server) (Microsoft SQL Server, Error: )</title>
		<link>http://blog.sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error/</link>
		<comments>http://blog.sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error/#comments</comments>
		<pubDate>Thu, 21 May 2009 01:30:01 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Error Messages]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4840</guid>
		<description><![CDATA[Regular readers of my blog are aware of the fact that I have written about this subject umpteen times earlier, and every time I have spoken about a new issue related to it. Few days ago, I had redone my local home network. I have LAN setup with wireless router connected with my four computers, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4840&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Regular readers of my blog are aware of the fact that I have written about this subject umpteen times earlier, and every time I have spoken about a new issue related to it. Few days ago, I had redone my local home network. I have LAN setup with wireless router connected with my four computers, two mobile devices, one printer and one VOIP solution. I had also formatted my primary computer and clean installed SQL Server 2008 into it. Yesterday, incidentally, I was sitting in my yard trying to connect SQL Server located in home office and suddenly I stumbled upon the following error. Finding the solution was the most infuriating part as it consumed my precious 10 minutes.</p>
<p style="text-align:justify;">Let us look at few of the common errors received:</p>
<p style="text-align:justify;"><em><span style="color:#ff0000;">An error has occurred while establishing a connection to the server.</span></em></p>
<p style="text-align:justify;"><em><span style="color:#ff0000;">(provider: Named Pipes Provider, error: 40 &#8211; Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 5)</span></em></p>
<p style="text-align:justify;"><em><span style="color:#ff0000;">An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 &#8211; Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 1326)</span></em></p>
<p style="text-align:justify;">I eventually found the resolution to this error on this blog itself; so I was saved from hunting for the solution. I am sure there are a number of developers who had previously fixed this error while installing SQL Server 2008 or SQL Server 2005 but in due course forgot the right solution to this error. <strong>This is just a quick refresher. Make sure to bookmark this as you never know when you would need this solution.</strong></p>
<p style="text-align:justify;">Let us check into the steps to resolve this error.</p>
<p style="text-align:justify;">1)<strong> SQL Server should be up and running. </strong></p>
<p style="text-align:justify;">Go to All Programs &gt;&gt; Microsoft SQL Server 2008 &gt;&gt; Configuration Tools &gt;&gt; SQL Server Configuration Manager &gt;&gt; SQL Server Services, and check if SQL Server service status is &#8220;Running&#8221;.</p>
<p style="text-align:justify;">In addition, ensure that your remote server is in the same network. Run &#8220;sqlcmd -L&#8221; in your command prompt to ascertain if your server is included in your network list. You can even find tutorial for the same here <strong><a href="http://blog.sqlauthority.com/2009/03/18/sql-server-find-all-servers-from-local-network-using-sqlcmd/" target="_blank">SQL SERVER &#8211; Find All Servers From Local Network &#8211; Using sqlcmd &#8211; Detect Installed SQL Server on Network</a></strong>.</p>
<p style="text-align:justify;">I have confronted numerous situations when these nerve-wracking errors crop up, and most of the time when I try to troubleshoot I notice that SQL Server services are neither running nor installed. If SQL Server is not installed as default instance SQL Server Browser should be running together with it; we will explore this further in Topic 5.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/error40/e40_7.jpg" alt="" width="500" height="205" /></p>
<p style="text-align:justify;"><strong>2) Enable TCP/IP in SQL Server Configuration</strong></p>
<p style="text-align:justify;">When two or more SQL Servers are connected across network they do all communication using TCP/IP. The default port of SQL Server installation is 1433. This port can be changed through SQL Server Configuration Manager. TCP/IP should be enabled for SQL Server to be connected.</p>
<p style="text-align:justify;">Go to All Programs &gt;&gt; Microsoft SQL Server 2008 &gt;&gt; Configuration Tools &gt;&gt; SQL Server Configuration Manager &gt;&gt; Select TCP/IP</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/error40/e40_1.jpg" alt="" width="465" height="534" /></p>
<p style="text-align:justify;">Right Click on TCP/IP &gt;&gt; Click on Enable</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/error40/e40_2.jpg" alt="" width="500" height="221" /></p>
<p style="text-align:justify;">You must restart SQL Server Services for all the changes to take effect. Right click and go to menu properties to select location where default port of SQL Server can be changed.</p>
<p style="text-align:justify;"><strong>3) Open Port in Windows Firewall</strong></p>
<p style="text-align:justify;"><strong></strong>Windows Firewall is very efficacious in protecting the Operating system from all sorts of malicious attacks. By default, many of the ports and services are refrained from running by firewall. Time and again, SQL Server ports are not open in firewall as well. All the ports on which SQL Server is running should be added to exception and firewall should filter all the traffic from those ports. As described, by default SQL Server runs on port 1433, but if default port is changed then the new port should be added to exception. If SQL Server has named instance (another instance besides default instance) is installed, SQL Server browser should also be added to the exception, as described in Step 7.</p>
<p style="text-align:justify;">Go to Control Panel &gt;&gt; Windows Firewall &gt;&gt; Change Settings &gt;&gt; Exceptions  &gt;&gt; Add Port</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/error40/e40_3.jpg" alt="" width="500" height="400" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/error40/e40_4.jpg" alt="" width="444" height="519" /></p>
<p style="text-align:justify;">Make the following entries in popup &#8220;Add a Port&#8221; and click OK.<br />
<strong>Name : SQL<br />
Port Number: 1433<br />
Protocol: Select TCP</strong>
</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/error40/e40_5.jpg" alt="" width="403" height="306" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/error40/e40_6.jpg" alt="" width="444" height="519" /></p>
<p style="text-align:justify;"><strong>4) Enable Remote Connection</strong></p>
<p style="text-align:justify;">Enabling remote connection is another important, yet oft-neglected step that is frequently missed by database administrators while setting up SQL Server. If this feature is turned off SQL Server will function smoothly on local machine, but it will let another server connect to it remotely. By default this feature is ON in SQL Server 2008.</p>
<p style="text-align:justify;">Right click on the server node and select Properties.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/error40/e40_9.jpg" alt="" width="470" height="596" /></p>
<p style="text-align:justify;">Go to Left Tab of Connections and check &#8220;Allow remote connections to this server&#8221;</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/error40/e40_10.jpg" alt="" width="500" height="560" /></p>
<p style="text-align:justify;"><strong>5) Enable SQL Server Browser Service</strong></p>
<p style="text-align:justify;">If SQL Server is not installed as default instance but instead installed as named instance and also if there is no specific TCP/IP port configured, it will give rise to the error that is being discussed in this article. If SQL Server Browser service is enabled, it will allow the server to be connected through dynamic TCP/IP port. Enabling this service is a one-time process, as on enabling it once it will apply to all the instances installed on the same server.</p>
<p style="text-align:justify;">Go to All Programs &gt;&gt; Microsoft SQL Server 2008 &gt;&gt; Configuration Tools &gt;&gt; SQL Server Configuration Manager &gt;&gt; SQL Server Browser</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/error40/e40_8.jpg" alt="" width="500" height="205" /></p>
<p style="text-align:justify;">Right Click on SQL Server Browser &gt;&gt; Click on Enable</p>
<p style="text-align:justify;"><strong>6) Create exception of sqlbrowser.exe in Firewall</strong></p>
<p style="text-align:justify;">As elucidated in Step 6, sqlbrowser service needs to be enabled for named instance. Windows Firewall may prevent sqlbrowser.exe to execute. So, it is imperative to add exception for the same in windows firewall.</p>
<p style="text-align:justify;">Search for sqlbrowser.exe on your local drive where SQL Server is installed. Copy the path of the sqlbrowser.exe like C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe and create the exception of the file in Firewall, as delineated in <strong>Step 3</strong>.</p>
<p style="text-align:justify;"><strong>7) Recreate Alias</strong></p>
<p style="text-align:justify;">It is getting quite common to create alias of SQL Server and use it in application. This will ensure that in future if any physical SQL Server has to be moved, it will not be required to change any code or connection string. You can simply create alias with the same name pointing to different SQL Server and it will start working instantaneously. I have observed that a couple of times due to internal error while recreating alias this error was fixed.</p>
<p style="text-align:justify;">Go to All Programs &gt;&gt; Microsoft SQL Server 2008 &gt;&gt; Configuration Tools &gt;&gt; SQL Native Client 10.0 Configuration &gt;&gt; Aliases</p>
<p style="text-align:justify;">Delete the alias that is giving problem and recreate it with identical parameters.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/error40/e40_11.jpg" alt="" width="417" height="269" /></p>
<p style="text-align:justify;">I have tried my best to include all the methods of fixing this error and if I have missed any, please leave a comment and I will be very glad to include them here. I have put in my effort to encompass this issue in one article that needs to be refereed when any connection error comes up.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
<p style="text-align:justify;">
<p style="text-align:justify;">
<p style="text-align:justify;">
Posted in Pinal Dave, SQL, SQL Authority, SQL Error Messages, SQL Query, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/4840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/4840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/4840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/4840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/4840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/4840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/4840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/4840/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/4840/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/4840/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4840&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/error40/e40_7.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/error40/e40_1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/error40/e40_2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/error40/e40_3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/error40/e40_4.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/error40/e40_5.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/error40/e40_6.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/error40/e40_9.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/error40/e40_10.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/error40/e40_8.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/error40/e40_11.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Fix : Management Studio Error : Saving Changes in not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can&#8217;t be re-created or enabled the option Prevent saving changes that require the table to be re-created</title>
		<link>http://blog.sqlauthority.com/2009/05/18/sql-server-fix-management-studio-error-saving-changes-in-not-permitted-the-changes-you-have-made-require-the-following-tables-to-be-dropped-and-re-created-you-have-either-made-changes-to-a-tab/</link>
		<comments>http://blog.sqlauthority.com/2009/05/18/sql-server-fix-management-studio-error-saving-changes-in-not-permitted-the-changes-you-have-made-require-the-following-tables-to-be-dropped-and-re-created-you-have-either-made-changes-to-a-tab/#comments</comments>
		<pubDate>Mon, 18 May 2009 01:30:45 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Error Messages]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4822</guid>
		<description><![CDATA[Today, we will delve into a very simple issue that one of the Jr. Developers at my organization confronted. I have a preference for T-SQL. According to me, all the developers should always use T-SQL instead of Design feature of SQL Server Management Studio (SSMS). In fact, sound knowledge of T-SQL has the potential to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4822&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Today, we will delve into a very simple issue that one of the Jr. Developers at my organization confronted. I have a preference for T-SQL. According to me, all the developers should always use T-SQL instead of Design feature of SQL Server Management Studio (SSMS). In fact, sound knowledge of T-SQL has the potential to make a huge difference in the development of the developer. One issue with using design mode of SSMS is that it sometimes adds too much overhead to the actual code and locks up the complete database. In the earlier version of SSMS, it was quite common to see that even on doing a small change the whole SSMS got hanged and went unresponsive till the operation was over.</p>
<p style="text-align:justify;">The reason for SSMS to go unresponsive is that when some operations (i.e. adding column, changing datatype of any column, etc) happen, it has to do much more work than the actual operation. Let us now examine an operation where we will add a new column to an already existing table.</p>
<ul style="text-align:justify;">
<li>Transaction starts.</li>
<li> When a new column is added SSMS renames the existing table to temp table.</li>
<li>After that, it creates a new table with new specification.</li>
<li>Now, SSMS has two tables: copy of  previous table with data and empty table with new structure.</li>
<li>SSMS now starts moving older data from older table to newer table.</li>
<li>If there is any error, it rolls back transaction.</li>
<li>If there is no error, it commits all the previous operations.</li>
<li>Transaction ends.</li>
</ul>
<p style="text-align:justify;">This entire operation is very resource intensive and puts lock on SQL Server tables in operation, eventually hanging SSMS.</p>
<p>SQL Server 2008 SSMS has new a feature that averts this issue. SSMS prevents user from running any operation that goes through the above-mentioned process. Let us see an example for the same.</p>
<p style="text-align:justify;">First, create table using the following script in any database.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:blue;">CREATE TABLE </span><span style="color:black;">dbo.Table_1<br />
</span><span style="color:gray;">(<br />
</span><span style="color:black;">ID </span><span style="color:blue;">INT </span><span style="color:gray;">NOT NULL,<br />
</span><span style="color:black;">First </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">50</span><span style="color:gray;">) NOT NULL,<br />
</span><span style="color:black;">Second </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">50</span><span style="color:gray;">) NOT NULL,<br />
</span><span style="color:black;">Third </span><span style="color:blue;">VARCHAR</span><span style="color:gray;">(</span><span style="color:black;">50</span><span style="color:gray;">) NOT NULL<br />
) </span><span style="color:blue;">ON </span><span style="color:black;">[PRIMARY]<br />
GO</span></code></p>
<p>Once the table is created open the table in SSMS by clicking on the table name and selecting &#8220;Design.&#8221; Try to include another column to the existing table and click on save (CTRL+S). It will prevent it from saving and will emit the following error in popup.
</p>
<p style="text-align:justify;"><span style="color:#ff0000;">Saving Changes in not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can&#8217;t be re-created or enabled the option Prevent saving changes that require the table to be re-created<br />
</span>
</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/preventtable1.jpg" alt="" width="500" height="397" /></p>
<p style="text-align:justify;">I like how SSMS takes stance of displaying warning message and stops user from going further to do operation, thereby preventing hanging of SSMS. However, this feature can cause inconvenience in a situation when one is required to save table using SSMS. If such situation arises, then this feature can be turned off by going to <em><strong>Menu &gt;&gt; Tools &gt;&gt; Options &gt;&gt; Designers &gt;&gt; Uncheck &#8220;Prevent Saving changes that require table re-creation&#8221;.</strong></em></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/preventtable.jpg" alt="" width="500" height="289" /></p>
<p style="text-align:justify;">This restriction only applies to operation attempted using only SSMS. If modification of tables are attempted using T-SQL in Query Editor, it will work just fine!</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
Posted in Database, Pinal Dave, SQL, SQL Authority, SQL Error Messages, SQL Query, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, SQLServer, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/4822/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/4822/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/4822/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/4822/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/4822/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/4822/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/4822/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/4822/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/4822/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/4822/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4822&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/05/18/sql-server-fix-management-studio-error-saving-changes-in-not-permitted-the-changes-you-have-made-require-the-following-tables-to-be-dropped-and-re-created-you-have-either-made-changes-to-a-tab/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/preventtable1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/preventtable.jpg" medium="image" />
	</item>
		<item>
		<title>SQLAuthority News &#8211; TechEd India 2009 &#8211; Day 3 &#8211; Product Group Meeting &#8211; Final Presentations &#8211; Meeting Friends</title>
		<link>http://blog.sqlauthority.com/2009/05/16/sqlauthority-news-teched-india-2009-day-3-product-group-meeting-final-presentations-meeting-friends/</link>
		<comments>http://blog.sqlauthority.com/2009/05/16/sqlauthority-news-teched-india-2009-day-3-product-group-meeting-final-presentations-meeting-friends/#comments</comments>
		<pubDate>Sat, 16 May 2009 01:30:11 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[MVP]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority Author Visit]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[TechEd]]></category>
		<category><![CDATA[TechEdIn]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5088</guid>
		<description><![CDATA[TechEd India 2009 has ended today and I’ve already started missing it! This three-day event was one of the best events of this year so far. I got the platform to meet best of the best people in the industry today. If I have to rate my days at TechEd I will assign the highest [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5088&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">TechEd India 2009 has ended today and I’ve already started missing it! This three-day event was one of the best events of this year so far. I got the platform to meet best of the best people in the industry today. If I have to rate my days at TechEd I will assign the highest rating to day 3 as it was the most significant day. However, in today’s article I will not be writing in detail about the last day because most of the things that I want to discuss have been covered by NDA. Besides, I learnt some vital information from the SQL Server product group, which is very exhilarating and important, but I will not be able to share those with you.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/techedin/DSC04130.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">Day 3 set off with meeting friends. Though are friendship was just 2-days old we felt connected to each other. Meeting new people, catching up with old friends, and learning about the best and the advanced technology – I just felt ecstatic!</p>
<p style="text-align:justify;">I attended one of the most talked-about sessions of &#8220;Advanced Data Recovery and Troubleshooting with SQL Server 2008&#8243; by <a href="http://www.extremeexperts.com/General/Home/Homepage.aspx" target="_blank"><strong>Vinod Kumar</strong></a>. Meeting Vinod everyday and attending his sessions is quite addictive. He is very much like <a href="http://www.sqlservercentral.com/Authors/Articles/Steve_Jones/" target="_blank">Steve Jones</a> of SQL Server Central. He would bring smile on your face with his talks and pleasing personality.</p>
<p style="text-align:justify;"><strong>Abstract of Vinod&#8217;s session</strong></p>
<p style="text-align:justify;">&#8220;Whenever we encounter a problem that could lead to a loss of data in a customer location we term it as Data Recovery problem. All of us in our SQL Server administration life would have encountered various problems like DBCC CHECKDB failing or database being marked as suspect or log file fails to restore etc.&#8221;</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Pinal, Binoy and Steve" src="http://www.pinaldave.com/bimg/techedin/DSC04171.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Pinal, Binoy and Steve</dd>
</dl>
</div>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/techedin/DSC04136.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/techedin/DSC04164.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">Satya &#8211; a SQL Domain Expert, an MVP, an International speaker and one of the most down-to-earth people &#8211; had also come to attend TechEd India from UK. He is a well-known name in the European countries for his speaking events. Today, we were all very fortunate to attend his enriching session on Highly Availability and SQL Server Upgrades. You would not believe no one moved from their seats throughout the session. Instead of the expected 2 hours the session lasted over 3 hours but everyone wanted more of it. It was a great experience listing to the very famous Satya in person. I would like to share another interesting fact about him.  He is currently writing on 14 (yes Fourteen!) blogs  all by himself!</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/techedin/DSC04163.jpg" alt="" width="500" height="375" /></p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Abhishek Baxi, Satya, Jacob" src="http://www.pinaldave.com/bimg/techedin/DSC04155.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Abhishek Baxi, Satya, Jacob</dd>
</dl>
</div>
<p style="text-align:justify;">I even attended an important meeting with nearly 10 very senior members from Microsoft SQL Server Product Team, who have actually created SQL Server. We had nearly 3-hours long meeting and it just went on. All MVPs were euphoric to see the Product Team. I must thank Microsoft Product Team for their great patience and for listening to us talking about SQL Server Product. It was a very rewarding meeting with the Product Group members. They promised to follow up very soon! I will not write further details about it as they have been covered by NDA.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Pinal with Amit Bansal" src="http://www.pinaldave.com/bimg/techedin/DSC04173.jpg" alt="" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Pinal with Amit Bansal</dd>
</dl>
</div>
<p style="text-align:justify;">After enjoying the three-day event the very thought of parting with great friends, MVP, UG Leads, and Microsoft Employees makes me sad. But at the end of the day I feel satisfied that I was part of this great event. I got the chance to learn new information from great people. Also, I was given a platform to share my knowledge with other participants, which truly satisfies me as I am an MVP.  My wife Nupur, who came along with me, also found this event very enjoyable.</p>
<div class="mceTemp" style="text-align:justify;">
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><img title="Vinod J with Pinal" src="http://www.pinaldave.com/bimg/techedin/DSC04175.jpg" alt="Vinod J with Pinal" width="500" height="375" /></dt>
<dd class="wp-caption-dd">Vinod J with Pinal</dd>
</dl>
</div>
<p style="text-align:justify;">I will continue my stay in Hyderabad for the following 3 days, as I have to attend some business meetings. Besides, I certainly don’t want to miss the opportunity of sightseeing. If any of you reside in Hyderabad, please do leave comment and send me email so that we can meet up and discuss technology.</p>
<p style="text-align:justify;">TechEd 2009 India is over but my excitement has not faded yet. I have a very special announcement regarding Gandhinagar SQL Server User Group Meeting. I promise that the meeting that we will have on May 20, 2009 will be the biggest event of the year 2009. We are going to have an international speaker from USA. I will give more details about this upcoming event tomorrow.</p>
<p style="text-align:justify;">I hope you have followed this event on my <a href="http://twitter.com/pinaldave" target="_blank"><strong>Twitter</strong></a>.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.sqlauthority.com/" target="_blank"><strong>http://blog.sqlauthority.com</strong></a><strong>)</strong></p>
Posted in MVP, Pinal Dave, SQL, SQL Authority, SQL Query, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, SQLAuthority Author Visit, SQLAuthority News, T SQL, Technology Tagged: TechEd, TechEdIn <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/5088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/5088/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/5088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/5088/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/5088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/5088/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/5088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/5088/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/5088/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/5088/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5088&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/05/16/sqlauthority-news-teched-india-2009-day-3-product-group-meeting-final-presentations-meeting-friends/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/techedin/DSC04130.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/techedin/DSC04171.jpg" medium="image">
			<media:title type="html">Pinal, Binoy and Steve</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/techedin/DSC04136.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/techedin/DSC04164.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/techedin/DSC04163.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/techedin/DSC04155.jpg" medium="image">
			<media:title type="html">Abhishek Baxi, Satya, Jacob</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/techedin/DSC04173.jpg" medium="image">
			<media:title type="html">Pinal with Amit Bansal</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/techedin/DSC04175.jpg" medium="image">
			<media:title type="html">Vinod J with Pinal</media:title>
		</media:content>
	</item>
		<item>
		<title>SQLAuthority News &#8211; TechEd India 2009 &#8211; Day 1 &#8211; Authors Tech Session &#8211; SQL Server Cheat Sheet &#8211; Meeting Great People</title>
		<link>http://blog.sqlauthority.com/2009/05/14/sqlauthority-news-teched-india-2009-day-1-authors-tech-session-sql-server-cheat-sheet-meeting-great-people/</link>
		<comments>http://blog.sqlauthority.com/2009/05/14/sqlauthority-news-teched-india-2009-day-1-authors-tech-session-sql-server-cheat-sheet-meeting-great-people/#comments</comments>
		<pubDate>Thu, 14 May 2009 01:30:33 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[MVP]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority Author Visit]]></category>
		<category><![CDATA[SQLAuthority News]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[DigiCorp]]></category>
		<category><![CDATA[TechEd]]></category>
		<category><![CDATA[TechEdIn]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=5050</guid>
		<description><![CDATA[First day of TechEd India 2009 is over and when I recall the day I can say that it was truly a blast! This immensely huge and grand event was conducted successfully. I am having a tough time trying to recapitulate the first day as there were several different activities worth covering. Let me start [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5050&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;"><strong>First day of TechEd India 2009</strong> is over and when I recall the day I can say that it was truly a blast! This immensely huge and grand event was conducted successfully. I am having a tough time trying to recapitulate the first day as there were several different activities worth covering. Let me start with the three most important events of day.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/TechEdIn/DSC04022.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;"><strong>Steve Ballmer</strong> &#8211; Microsoft CEO – was the Keynote speaker at TechEd India. He is really an enthusiastic person. As soon as he showed up on stage, the entire auditorium was charged with energy. People were extremely keen to see him and listen to him. He gave a very impressive overview of Microsoft Strategies and its future planning. Listening to him about recession was quite interesting. Steve is a man with wisdom and according to him this is in fact a good time and things will soon improve. With a tinge of humor he said &#8220;Recession is life time opportunity and do not miss to learn new things and grow out as stronger person&#8221;. Now, you tell me where else you will get to hear optimistic statement like this.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/TechEdIn/DSC04045.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/TechEdIn/DSC04046.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">Today, I had a technical session on &#8220;SQL Server Management Studio 2008 New Features&#8221;. I really enjoyed the presence of participants at my session. The session hall was occupied with SQL enthusiasts who were excited to learn something new. I commenced my session by saying that the session was useful for people who are ever going to touch Management Studio. My session had nearly 9 demos and around 40 slides. Interestingly enough, I proficiently covered everything in less than 40 min, and we had ample time for discussing, addressing future issues with SQL Server, and interacting with SQL Server Product Team of Hyderabad. It may come as a surprise to few but yes, there are an interesting lot of people in SQL Server Product Team in Hyderabad.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/TechEdIn/DSC04033.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/TechEdIn/DSC04064.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/TechEdIn/DSC04071.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">Vigorous participation of people made my session interactive throughout. There was a two way communication. Not surprisingly, I received lots of feedback while the session was progressing. At one point, the entire hall was crammed with people and we ran out of chairs. I must thank the team leads <strong><a href="http://www.abhishekkant.net/" target="_blank">Abhishek Kant</a></strong> and <strong><a href="http://www.baxiabhishek.info/" target="_blank">Abhishek Baxi</a></strong> for their speedy arrangement of additional chairs to accommodate all the attendees. SQL Server Cheat Sheets, which were prepared along with me by <strong><a href="http://www.digi-corp.com/" target="_blank">Digi-corp</a></strong>, were available for free pickup. We did not expect that SQL Server Cheat Sheet will become so popular; we ran out of them right during the session. I was able to arrange few of them right away, thanks to the agility of my cooperative wife Nupur, who is also attending TechEd event along with me.</p>
<p style="text-align:justify;">Today, was one of the most important days of my life as I got the opportunity to meet a person I always wanted to meet. <strong>Vinod Kumar</strong> is a very well-known person in SQL community, and it feels weird to give introduction about him who is a celebrity in his own right. But for those who do not know him, let me introduce him to you. Vinod Kumar is a technical evangelist at Microsoft who is very passionate about community. He is one of the lead organizers of the highly esteemed TechEd India event. I was fortunate to spend time with him today and exchange a few words with him. Vinod is a very down to earth person and refuses to be addressed as &#8220;Sir.&#8221; He likes to be called just &#8220;Vinod.&#8221; He gave me many good suggestions, tips and advice. I would like to mention one statement he made -<strong>&#8220;Just be what you are!&#8221;</strong></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/TechEdIn/DSC04061.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">I attended two TV interviews and one community jam event as well. When I started giving autographs I did not realize when the number crossed 125. It was surprising, exciting and real fun! I will give details about it tomorrow.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/TechEdIn/DSC04056.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/TechEdIn/comjam.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">Even though today was an action-packed day, I did take about sufficient time to meet few of my MVP fellows. Whenever MVPs meet, we have a great time! It was a pleasure to meet<strong> Jacob Sebastian </strong>(Beyond Relational)<strong>, Vikram Pendse </strong>(The Silverlight Guru)<strong>, Suprotim Agrawal </strong>(SQL Server Curry)<strong>, Mahesh Mittkari </strong>(Pune UG)<strong>, Satya </strong>(SQL Server Q&amp;A &#8211; he came from Scotland to see Steve B and meet us)<strong>, Amit Bansal </strong>(Peopleware India)<strong>, Mahesh Dhola, Sanjay Shetty </strong>(INETA Lead)<strong>, Ashwin Kini </strong>(Culminis Lead)<strong>, Nauzad Kapadia </strong>(Quartz)<strong>, Niraj </strong>(Niraj Rules)<strong>, Arun</strong> (XML Guru)<strong>, Gitesh Bajaj</strong> (PPT God)<strong>, Hardik Shah </strong>(MS)<strong>, K-Mug Leaders</strong> and many more.</p>
<p style="text-align:justify;">Please pardon me if I missed any name. I will update it in my tomorrow’s post with further information about what we talked about and how much we enjoyed together.</p>
<p style="text-align:justify;">
<div class="wp-caption alignnone" style="width: 510px"><img title="Jacob (XML), Pinal (SQL), Vikram (Silverlight)" src="http://www.pinaldave.com/bimg/TechEdIn/DSC04057.jpg" alt="" width="500" height="375" /><p class="wp-caption-text">Jacob (XML), Pinal (SQL), Vikram (Silverlight)</p></div>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/TechEdIn/DSC04054.jpg" alt="" width="500" height="375" /></p>
<p>Back at hotel, I had lip smacking Thai Dinner with my wife. We both are vegetarians so the choice was limited, but nonetheless the food was great.</p>
<p>I’m looking forward to another action-packed day tomorrow. You can follow updates on <a href="http://twitter.com/pinaldave">Twitter</a> here.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.sqlauthority.com/" target="_blank">http://blog.sqlauthority.com</a>)</strong></p>
Posted in Database, MVP, Pinal Dave, SQL, SQL Authority, SQL Query, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, SQLAuthority Author Visit, SQLAuthority News, T SQL, Technology Tagged: DigiCorp, TechEd, TechEdIn <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/5050/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/5050/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/5050/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/5050/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/5050/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/5050/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/5050/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/5050/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/5050/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/5050/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=5050&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/05/14/sqlauthority-news-teched-india-2009-day-1-authors-tech-session-sql-server-cheat-sheet-meeting-great-people/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/TechEdIn/DSC04022.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/TechEdIn/DSC04045.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/TechEdIn/DSC04046.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/TechEdIn/DSC04033.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/TechEdIn/DSC04064.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/TechEdIn/DSC04071.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/TechEdIn/DSC04061.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/TechEdIn/DSC04056.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/TechEdIn/comjam.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/TechEdIn/DSC04057.jpg" medium="image">
			<media:title type="html">Jacob (XML), Pinal (SQL), Vikram (Silverlight)</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/TechEdIn/DSC04054.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; 2008 &#8211; Management Studio New Features</title>
		<link>http://blog.sqlauthority.com/2009/04/05/sql-server-2008-management-studio-new-features/</link>
		<comments>http://blog.sqlauthority.com/2009/04/05/sql-server-2008-management-studio-new-features/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 01:30:32 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[SQLServer]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=4236</guid>
		<description><![CDATA[Pinalkumar Dave describes the top 5 features of SQL Server Management Studio 2008.
This article describes the top 5 features of SQL Server Management Studio 2008. With the release of SQL Server 2008 Microsoft has upgraded SSMS with many new features as well as added tons of new functionalities requested by DBAs for long time.
SQL Server [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4236&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;"><span>Pinalkumar Dave describes the top 5 features of SQL Server Management Studio 2008.</span></p>
<p style="text-align:justify;">This article describes the top 5 features of SQL Server Management Studio 2008. With the release of SQL Server 2008 Microsoft has upgraded SSMS with many new features as well as added tons of new functionalities requested by DBAs for long time.</p>
<p style="text-align:justify;">SQL Server 2008 has been released for a year now. In SQL Server 2000, DBA had to use two different tools to maintain the database as well as the query database, specifically SQL Server Enterprise Manager and SQL Server Query Analyzer. With the release of SQL Server 2005 both of these tools are combined into one tool: SQL Server Management Studio. For a while DBA who were fan of Query Analyzer requested to bring it back but as they keep on using SQL Server Management Studio (SSMS) they realized that it was much more convenient if every task related to SQL Server could be accomplished using SSMS. With the release of SQL Server 2008 Microsoft has upgraded SSMS with many new features as well as added tons of new functionalities requested by DBAs for long time.</p>
<p style="text-align:justify;">Let us go over a few of the important new features of the SSMS 2008. The list of SQL Server 2008 SSMS improvements is very long. I have selected my favorite 5 features and we will go over them.</p>
<ol style="text-align:justify;">
<li>IntelliSense for Query Editing</li>
<li>Multi Server Query</li>
<li>Query Editor Regions</li>
<li>Object Explorer Enhancements</li>
<li>Activity Monitors</li>
</ol>
<h3 style="text-align:center;"><a href="http://dotnetslackers.com/articles/sql/SQL-Server-2008-Management-Studio-New-Features.aspx" target="_blank">Read Complete article here.</a></h3>
Posted in Best Practices, Pinal Dave, SQL, SQL Add-On, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, SQL Utility, SQLServer, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/4236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/4236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/4236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/4236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/4236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/4236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/4236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/4236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/4236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/4236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=4236&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/04/05/sql-server-2008-management-studio-new-features/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Start SQL Server Instance in Single User Mode</title>
		<link>http://blog.sqlauthority.com/2009/02/10/sql-server-start-sql-server-instance-in-single-user-mode/</link>
		<comments>http://blog.sqlauthority.com/2009/02/10/sql-server-start-sql-server-instance-in-single-user-mode/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 01:30:32 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Security]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=2289</guid>
		<description><![CDATA[There are certain situation when user wants to start SQL Server Engine in &#8220;single user&#8221; mode from the start up.
To start SQL Server in single user mode is very simple procedure as displayed below.
Go to SQL Server Configuration Manager and click on  SQL Server 2005 Services. Click on desired SQL Server instance and right click [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=2289&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">There are certain situation when user wants to start SQL Server Engine in <em><strong>&#8220;single user&#8221;</strong></em> mode from the start up.</p>
<p style="text-align:justify;">To start SQL Server in single user mode is very simple procedure as displayed below.</p>
<p style="text-align:justify;">Go to SQL Server Configuration Manager and click on  SQL Server 2005 Services. Click on desired SQL Server instance and right click go to properties. On the Advance table enter param &#8216;<strong>-m;</strong>&#8216; before existing params in Startup Parameters box.</p>
<p style="text-align:justify;">Make sure that you entered semi-comma after -m. Once that is completed, restart SQL Server services to take this in effect. Once this is done, now you will be only able to connect SQL Server using sqlcmd.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/singleuser.jpg" alt="" width="400" height="705" /></p>
<p style="text-align:justify;">Make sure to remove newly added params after required work is completed to restart it in multi user mode.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.SQLAuthority.com" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
Posted in Pinal Dave, SQL, SQL Add-On, SQL Authority, SQL Query, SQL Scripts, SQL Security, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, SQL Utility, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/2289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/2289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/2289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/2289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/2289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/2289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/2289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/2289/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/2289/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/2289/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=2289&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/02/10/sql-server-start-sql-server-instance-in-single-user-mode/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/singleuser.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; 2008 &#8211; Change Color of Status Bar of SSMS Query Editor</title>
		<link>http://blog.sqlauthority.com/2009/01/04/sql-server-2008-change-color-of-status-bar-of-ssms-query-editor/</link>
		<comments>http://blog.sqlauthority.com/2009/01/04/sql-server-2008-change-color-of-status-bar-of-ssms-query-editor/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 17:41:21 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Security]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1955</guid>
		<description><![CDATA[This is one very interesting issue which I have started to follow recently. Just like any other organization my company has many servers. Some are production and some are development. It is very much necessary that query which are written for developer environment does not run for production environment accidentally.
In SQL Server 2008 there is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=1955&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">This is one very interesting issue which I have started to follow recently. Just like any other organization my company has many servers. Some are production and some are development. It is very much necessary that query which are written for developer environment does not run for production environment accidentally.</p>
<p style="text-align:justify;">In SQL Server 2008 there is special feature which can change the color of the task bar. This will alert developer to run query on server.</p>
<p style="text-align:justify;">Let us see quick tutorial with images which explains how the color of the status bar in SQL Server management studio can be changed.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/color1.jpg" alt="" width="428" height="322" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/color2.jpg" alt="" width="426" height="498" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/color3.jpg" alt="" width="232" height="335" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/color4.jpg" alt="" width="426" height="498" /></p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/color5.jpg" alt="" width="500" height="483" /></p>
<p style="text-align:justify;">Another example of different color status bar.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/color6.jpg" alt="" width="500" height="483" /></p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (<a href="http://blog.SQLAuthority.com" target="_blank">http://blog.SQLAuthority.com</a>)</strong></p>
Posted in Best Practices, Pinal Dave, SQL, SQL Add-On, SQL Authority, SQL Query, SQL Security, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, SQL Utility, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/1955/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/1955/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/1955/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/1955/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/1955/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/1955/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/1955/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/1955/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/1955/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/1955/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=1955&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2009/01/04/sql-server-2008-change-color-of-status-bar-of-ssms-query-editor/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/color1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/color2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/color3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/color4.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/color5.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/color6.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Find Collation of Database and Table Column Using T-SQL</title>
		<link>http://blog.sqlauthority.com/2008/12/16/sql-server-find-collation-of-database-and-table-column-using-t-sql/</link>
		<comments>http://blog.sqlauthority.com/2008/12/16/sql-server-find-collation-of-database-and-table-column-using-t-sql/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 01:30:32 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Scripts]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Collation]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1771</guid>
		<description><![CDATA[Today we will go over very quick tip about finding out collation of database and table column. Collations specify the rules for how strings of character data are sorted and compared, based on the norms of particular languages and locales
Today&#8217;s script are self explanatory so I will not explain it much.
/* Find Collation of SQL Server Database */
SELECT DATABASEPROPERTYEX('AdventureWorks', 'Collation')
GO
/* Find Collation of SQL Server Database Table Column */
USE AdventureWorks
GO
SELECT name, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=1771&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Today we will go over very quick tip about finding out collation of database and table column. Collations specify the rules for how strings of character data are sorted and compared, based on the norms of particular languages and locales</p>
<p style="text-align:justify;">Today&#8217;s script are self explanatory so I will not explain it much.</p>
<p style="text-align:justify;"><code style="font-size:12px;"><span style="color:green;">/* Find Collation of SQL Server Database */<br />
</span><span style="color:blue;">SELECT </span><span style="color:magenta;">DATABASEPROPERTYEX</span><span style="color:gray;">(</span><span style="color:red;">'AdventureWorks'</span><span style="color:gray;">, </span><span style="color:red;">'Collation'</span><span style="color:gray;">)<br />
</span><span style="color:black;">GO<br />
</span><span style="color:green;">/* Find Collation of SQL Server Database Table Column */<br />
</span><span style="color:blue;">USE </span><span style="color:black;">AdventureWorks<br />
GO<br />
</span><span style="color:blue;">SELECT </span><span style="color:black;">name</span><span style="color:gray;">, </span><span style="color:black;">collation_name<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.columns<br />
</span><span style="color:blue;">WHERE </span><span style="color:magenta;">OBJECT_ID </span><span style="color:blue;">IN </span><span style="color:gray;">(</span><span style="color:blue;">SELECT </span><span style="color:magenta;">OBJECT_ID<br />
</span><span style="color:blue;">FROM </span><span style="color:black;">sys.objects<br />
</span><span style="color:blue;">WHERE </span><span style="color:black;">type </span><span style="color:blue;">= </span><span style="color:red;">'U'<br />
</span><span style="color:gray;">AND </span><span style="color:black;">name </span><span style="color:blue;">= </span><span style="color:red;">'Address'</span><span style="color:gray;">)<br />
AND </span><span style="color:black;">name </span><span style="color:blue;">= </span><span style="color:red;">'City'</span></code>
</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/findcollation.jpg" alt="" width="497" height="416" /></p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.SQLAuthority.com" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
Posted in Database, Pinal Dave, SQL, SQL Authority, SQL Query, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, T SQL, Technology Tagged: SQL Collation <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/1771/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/1771/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/1771/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/1771/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/1771/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/1771/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/1771/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/1771/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/1771/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/1771/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=1771&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2008/12/16/sql-server-find-collation-of-database-and-table-column-using-t-sql/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/findcollation.jpg" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Connect using Enterprise Manager to SQL Server 2005/2008</title>
		<link>http://blog.sqlauthority.com/2008/12/14/sql-server-connect-using-enterprise-manager-to-sql-server-20052008/</link>
		<comments>http://blog.sqlauthority.com/2008/12/14/sql-server-connect-using-enterprise-manager-to-sql-server-20052008/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 01:30:08 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQL Utility]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1727</guid>
		<description><![CDATA[I received following email from Mike Bikkins.
&#8220;How can I connect to SQL Server 2005 or SQL Server 2008 using SQL Server 2000&#8217;s Enterprise Manager?&#8221;
No. You can not connect with SQL Server 2005 and higher version using Enterprise Manager. You will need SQL Server Management Studio available with SQL Server 2005 and higher version.
Reference : Pinal [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=1727&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">I received following email from Mike Bikkins.</p>
<p style="text-align:justify;"><em><strong>&#8220;How can I connect to SQL Server 2005 or SQL Server 2008 using SQL Server 2000&#8217;s Enterprise Manager?&#8221;</strong></em></p>
<p style="text-align:justify;">No. You can not connect with SQL Server 2005 and higher version using Enterprise Manager. You will need SQL Server Management Studio available with SQL Server 2005 and higher version.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.SQLAuthority.com" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
Posted in Pinal Dave, SQL, SQL Add-On, SQL Authority, SQL Query, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, SQL Utility, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/1727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/1727/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/1727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/1727/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/1727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/1727/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/1727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/1727/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/1727/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/1727/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=1727&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2008/12/14/sql-server-connect-using-enterprise-manager-to-sql-server-20052008/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL SERVER &#8211; Find Table Rowcount Without Using T-SQL and Without Opening Table</title>
		<link>http://blog.sqlauthority.com/2008/12/09/sql-server-find-table-rowcount-without-using-t-sql-and-without-opening-table/</link>
		<comments>http://blog.sqlauthority.com/2008/12/09/sql-server-find-table-rowcount-without-using-t-sql-and-without-opening-table/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 01:30:57 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Documentation]]></category>
		<category><![CDATA[SQL Interview Questions and Answers]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[SQL Storage]]></category>

		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1635</guid>
		<description><![CDATA[Recently I have been busy with interviewing many candidates for my organization. We are looking for some smart and experienced developers for some senior positions. I have wrote this previously SQL SERVER &#8211; Interesting Interview Questions.
I had asked following question to one of the candidate and he was not able to answer this question. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=1635&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Recently I have been busy with interviewing many candidates for my organization. We are looking for some smart and experienced developers for some senior positions. I have wrote this previously <strong><a href="http://blog.sqlauthority.com/2008/12/07/sql-server-interesting-interview-questions/" target="_blank">SQL SERVER &#8211; Interesting Interview Questions</a></strong>.</p>
<p style="text-align:justify;">I had asked following question to one of the candidate and he was not able to answer this question. I promised him that I will put answer to this question on blog.</p>
<p style="text-align:justify;">The question was : <strong>How to find table rowcount without using T-SQL and without opening table?</strong></p>
<p style="text-align:justify;">Answer : Well it is quite simple by using SQL Server Management Studio.</p>
<p style="text-align:justify;">Right click on table and click on Properties. Now on left nav of opened window click on storage and under general section there is display of Row Count.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/rcnt.gif" alt="" width="500" height="449" /></p>
<p style="text-align:justify;">If you have similar interesting questions, please share with me. I will post on blog.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.SQLAuthority.com" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
Posted in Pinal Dave, SQL, SQL Add-On, SQL Authority, SQL Documentation, SQL Interview Questions and Answers, SQL Query, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, T SQL, Technology Tagged: Howto, SQL Storage <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/1635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/1635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/1635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/1635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/1635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/1635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/1635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/1635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/1635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/1635/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=1635&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2008/12/09/sql-server-find-table-rowcount-without-using-t-sql-and-without-opening-table/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/rcnt.gif" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; Default Collation of SQL Server 2008</title>
		<link>http://blog.sqlauthority.com/2008/12/03/sql-server-default-collation-of-sql-server-2008/</link>
		<comments>http://blog.sqlauthority.com/2008/12/03/sql-server-default-collation-of-sql-server-2008/#comments</comments>
		<pubDate>Wed, 03 Dec 2008 01:30:59 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Add-On]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Documentation]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1602</guid>
		<description><![CDATA[Recently I wrote article about SQL SERVER &#8211; 2008 &#8211; Install SQL Server 2008 &#8211; How to Upgrade to SQL Server 2008 &#8211; Installation Tutorial, I received couple of comment suggesting that I did not talk about SQL Server default collation setting or how to change default collation when installing SQL Server 2008.
While installing SQL [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=1602&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">Recently I wrote article about <a href="http://blog.sqlauthority.com/2008/12/02/sql-server-2008-install-sql-server-2008-how-to-upgrade-to-sql-server-2008-installation-tutorial/" target="_blank">SQL SERVER &#8211; 2008 &#8211; Install SQL Server 2008 &#8211; How to Upgrade to SQL Server 2008 &#8211; Installation Tutorial</a>, I received couple of comment suggesting that I did not talk about SQL Server default collation setting or how to change default collation when installing SQL Server 2008.</p>
<p style="text-align:justify;">While installing SQL Server 2008 on Server Configuration setting select <strong>&#8220;Collation&#8221;</strong> tab. It will bring up setting displayed in following image.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/bimg/defaultcollation.gif" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">You can check the default collation of SQL Server as well can change it from the same. SQL Server offers the SQL_Latin1_General_CP1_CI_AS collation as the default collation for server installations.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.SQLAuthority.com" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
Posted in Pinal Dave, SQL, SQL Add-On, SQL Authority, SQL Documentation, SQL Query, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, T SQL, Technology  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/1602/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/1602/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/1602/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/1602/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/1602/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/1602/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/1602/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/1602/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/1602/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/1602/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=1602&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2008/12/03/sql-server-default-collation-of-sql-server-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/defaultcollation.gif" medium="image" />
	</item>
		<item>
		<title>SQL SERVER &#8211; 2008 &#8211; Fix Connection Error with Visual Studio 2008 &#8211; Server Version is not supported</title>
		<link>http://blog.sqlauthority.com/2008/09/21/sql-server-2008-fix-connection-error-with-visual-studio-2008-server-version-is-not-supported/</link>
		<comments>http://blog.sqlauthority.com/2008/09/21/sql-server-2008-fix-connection-error-with-visual-studio-2008-server-version-is-not-supported/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 01:30:14 +0000</pubDate>
		<dc:creator>pinaldave</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Pinal Dave]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Authority]]></category>
		<category><![CDATA[SQL Download]]></category>
		<category><![CDATA[SQL Error Messages]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[SQL Tips and Tricks]]></category>
		<category><![CDATA[SQLAuthority]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[T SQL]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[SQL Service Pack]]></category>

		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1153</guid>
		<description><![CDATA[While attending conference SQLAuthority Author Visit &#8211; Microsoft Student Partner Conference, some developers informed me that SQL SERVER 2008 cannot be connected to Visual Studio 2008 and error displays as MS does not support SQL Server version. I was surprised initially as I could not believe that two MS products are not compatible. When trying myself [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=1153&subd=sqlauthority&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">While attending conference <a href="http://blog.sqlauthority.com/2008/09/03/sqlauthority-author-visit-microsoft-student-partner-conference/" target="_blank">SQLAuthority Author Visit &#8211; Microsoft Student Partner Conference</a>, some developers informed me that SQL SERVER 2008 cannot be connected to Visual Studio 2008 and error displays as MS does not support SQL Server version. I was surprised initially as I could not believe that two MS products are not compatible. When trying myself I got the same error.</p>
<p style="text-align:justify;">SQL Server 2008 when connected to Visual Studio 2008 gives the error that &#8220;<em>This server version is not supported.  Only servers up to Microsoft SQL Server 2005 are supported</em>&#8220;.</p>
<p style="text-align:justify;"><img class="alignnone" src="http://www.pinaldave.com/blogfolder/SupportErr2008.gif" alt="" width="500" height="400" /></p>
<p style="text-align:justify;">This error can be easily resolved by just installing Service pack. <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&amp;displaylang=en" target="_blank">Download Visual Studio Service Pack 1 and install</a>. Once service pack installed it will connect just fine.</p>
<p style="text-align:justify;">Reference : <strong>Pinal Dave (</strong><a href="http://blog.SQLAuthority.com" target="_blank"><strong>http://blog.SQLAuthority.com</strong></a><strong>)</strong></p>
Posted in Database, Pinal Dave, Software Development, SQL, SQL Authority, SQL Download, SQL Error Messages, SQL Query, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, SQLAuthority, T SQL, Technology Tagged: SQL Service Pack <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sqlauthority.wordpress.com/1153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sqlauthority.wordpress.com/1153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sqlauthority.wordpress.com/1153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sqlauthority.wordpress.com/1153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sqlauthority.wordpress.com/1153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sqlauthority.wordpress.com/1153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sqlauthority.wordpress.com/1153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sqlauthority.wordpress.com/1153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sqlauthority.wordpress.com/1153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sqlauthority.wordpress.com/1153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.sqlauthority.com&blog=668536&post=1153&subd=sqlauthority&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://blog.sqlauthority.com/2008/09/21/sql-server-2008-fix-connection-error-with-visual-studio-2008-server-version-is-not-supported/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/48aa5a2264e8a27d802bb22ab6ccf688?s=96&#38;d=identicon" medium="image">
			<media:title type="html">pinaldave</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/blogfolder/SupportErr2008.gif" medium="image" />
	</item>
	</channel>
</rss>