<?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>QueryAnalyser</title>
	<atom:link href="http://queryanalyser.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://queryanalyser.wordpress.com</link>
	<description>A web which traps SQL Server related bugs</description>
	<lastBuildDate>Mon, 15 Jun 2009 12:54:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='queryanalyser.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>QueryAnalyser</title>
		<link>http://queryanalyser.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://queryanalyser.wordpress.com/osd.xml" title="QueryAnalyser" />
	<atom:link rel='hub' href='http://queryanalyser.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SQL Server 2000 to 2005 Upgrade</title>
		<link>http://queryanalyser.wordpress.com/2009/06/15/sql-server-2000-to-2005-upgrade/</link>
		<comments>http://queryanalyser.wordpress.com/2009/06/15/sql-server-2000-to-2005-upgrade/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 12:54:48 +0000</pubDate>
		<dc:creator>CK</dc:creator>
				<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://queryanalyser.wordpress.com/?p=27</guid>
		<description><![CDATA[There are various methods in place for the SQL Server upgradation from 2000 to 2005 and 2005 to 2008.  Microsoft itseld provides a well tuned &#8216;Tuning Adviser&#8217; which compares the various mismathches and the future non-compatability issues when you upgrade to the latest versions. Microsoft SQL Server 2005 Upgrade Advisor is available at http://www.microsoft.com/downloads/details.aspx?familyid=1470E86B-7E05-4322-A677-95AB44F12D75&#38;displaylang=en Microsoft [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=queryanalyser.wordpress.com&amp;blog=2216331&amp;post=27&amp;subd=queryanalyser&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are various methods in place for the SQL Server upgradation from 2000 to 2005 and 2005 to 2008.  Microsoft itseld provides a well tuned &#8216;Tuning Adviser&#8217; which compares the various mismathches and the future non-compatability issues when you upgrade to the latest versions.</p>
<ol>
<li>Microsoft SQL Server 2005 Upgrade Advisor is available at <a href="http://www.microsoft.com/downloads/details.aspx?familyid=1470E86B-7E05-4322-A677-95AB44F12D75&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=1470E86B-7E05-4322-A677-95AB44F12D75&amp;displaylang=en</a></li>
<li>Microsoft SQL Server 2008 Upgrade Advisor is available at <a href="http://www.microsoft.com/downloads/details.aspx?familyid=F5A6C5E9-4CD9-4E42-A21C-7291E7F0F852&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=F5A6C5E9-4CD9-4E42-A21C-7291E7F0F852&amp;displaylang=en</a></li>
</ol>
<p>The following links provide you excellent information about the upgradation process and hick-ups.</p>
<ul>
<li><a title="http://www.sqlservercentral.com/columnists/ssamuel/2987.asp" href="http://www.sqlservercentral.com/columnists/ssamuel/2987.asp"><span style="font-family:Verdana;">http://www.sqlservercentral.com/columnists/ssamuel/2987.asp</span></a></li>
<li><span style="font-family:Verdana;"><a title="http://www.microsoft.com/technet/prodtechnol/sql/2005/sqlupgrd.mspx" href="http://www.microsoft.com/technet/prodtechnol/sql/2005/sqlupgrd.mspx">http://www.microsoft.com/technet/prodtechnol/sql/2005/sqlupgrd.mspx</a></span></li>
<li><span style="font-family:Verdana;"><a title="http://www.microsoft.com/downloads/details.aspx?FamilyID=3d5e96d9-0074-46c4-bd4f-c3eb2abf4b66&amp;DisplayLang=en" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3d5e96d9-0074-46c4-bd4f-c3eb2abf4b66&amp;DisplayLang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=3d5e96d9-0074-46c4-bd4f-c3eb2abf4b66&amp;DisplayLang=en</a></span></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/queryanalyser.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/queryanalyser.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/queryanalyser.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/queryanalyser.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/queryanalyser.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/queryanalyser.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/queryanalyser.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/queryanalyser.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/queryanalyser.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/queryanalyser.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/queryanalyser.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/queryanalyser.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/queryanalyser.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/queryanalyser.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=queryanalyser.wordpress.com&amp;blog=2216331&amp;post=27&amp;subd=queryanalyser&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://queryanalyser.wordpress.com/2009/06/15/sql-server-2000-to-2005-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a298768b1868e13c8f3390421772bfa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">CK</media:title>
		</media:content>
	</item>
		<item>
		<title>XML format to SQL Server Execution Plan and vice versa</title>
		<link>http://queryanalyser.wordpress.com/2009/06/12/xml-format-to-sql-server-execution-plan-and-vice-versa/</link>
		<comments>http://queryanalyser.wordpress.com/2009/06/12/xml-format-to-sql-server-execution-plan-and-vice-versa/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 14:12:08 +0000</pubDate>
		<dc:creator>CK</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://queryanalyser.wordpress.com/?p=25</guid>
		<description><![CDATA[This post gives a brief overview about How the execution plan can be saved in a XML format and  How the saved XML file about query plan be seen in a GUI format. 1. SHOWPLAN_XML generates compile-time query execution plan information for a query, but does not execute the query. STATISTICS XML generates run-time query [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=queryanalyser.wordpress.com&amp;blog=2216331&amp;post=25&amp;subd=queryanalyser&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post gives a brief overview about</p>
<ol>
<li>How the execution plan can be saved in a XML format and </li>
<li>How the saved XML file about query plan be seen in a GUI format.</li>
</ol>
<p>1. SHOWPLAN_XML generates compile-time query execution plan information for a query, but does not execute the query. STATISTICS XML generates run-time query execution plan information for a query, and executes the query.</p>
<p>So set the necessary setting on.</p>
<p><span style="color:#3366ff;">SET SHOWPLAN_XML ON</span></p>
<p><span style="color:#3366ff;">&lt;&lt; Query &gt;&gt;</span></p>
<p><span style="color:#3366ff;">SET SHOWPLAN_XML OFF</span></p>
<p>In the <strong><span style="font-weight:normal;">Results</span></strong> pane, right-click the <strong>Microsoft SQL Server 2005 XML Showplan</strong> that contains the query plan, and then click <strong>Save Results As <span style="font-weight:normal;">and also select &#8216;All Files&#8217; in the type column. Save the plan with extension<span style="color:#008000;">, <strong>&#8216;.sqlplan&#8217;</strong></span></span></strong></p>
<p><strong><span style="color:#008000;"><span style="font-weight:normal;"><span style="color:#000000;">2. Loading the plan is as simple as that,</span></span></span></strong></p>
<p><strong><span style="color:#008000;"><span style="font-weight:normal;"><span style="color:#000000;">Just open SQL Server management studio, File -&gt; Open. Select all types in the type column. Look out for the plan which is saved in the .sqlplan format.</span></span></span></strong></p>
<p><strong><span style="color:#008000;"><span style="font-weight:normal;"><span style="color:#000000;">You can now see the graphical format of the plan which you have in XML.</span></span></span></strong></p>
<p><strong><span style="color:#008000;"><span style="font-weight:normal;"><span style="color:#000000;"><br />
</span></span></span></strong></p>
<p><strong><span style="color:#008000;"><span style="color:#000000;">Other references:</span></span></strong></p>
<p><strong><span style="color:#008000;"><span style="color:#000000;"><a href="http://technet.microsoft.com/en-us/library/ms190646(SQL.90).aspx">http://technet.microsoft.com/en-us/library/ms190646(SQL.90).aspx</a></span></span></strong></p>
<p><strong><span style="color:#008000;"><span style="color:#000000;"><a href="http://www.johnsansom.com/index.php/2009/05/how-to-identify-the-most-costly-sql-server-queries-using-dmvs/">http://www.johnsansom.com/index.php/2009/05/how-to-identify-the-most-costly-sql-server-queries-using-dmvs/</a></span></span></strong></p>
<p><strong><span style="color:#008000;"><span style="color:#000000;">- <span style="font-weight:normal;">This is a good post about identifying Top 20 CPU utilising queries in your system and their query plans via various DMVs. Once you get a graphical query plan, you can easily find the real culprit from the cost, where the maximum percentage lies. </span></span></span></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/queryanalyser.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/queryanalyser.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/queryanalyser.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/queryanalyser.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/queryanalyser.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/queryanalyser.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/queryanalyser.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/queryanalyser.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/queryanalyser.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/queryanalyser.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/queryanalyser.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/queryanalyser.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/queryanalyser.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/queryanalyser.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=queryanalyser.wordpress.com&amp;blog=2216331&amp;post=25&amp;subd=queryanalyser&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://queryanalyser.wordpress.com/2009/06/12/xml-format-to-sql-server-execution-plan-and-vice-versa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a298768b1868e13c8f3390421772bfa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">CK</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server High Memory Usage Alert</title>
		<link>http://queryanalyser.wordpress.com/2009/06/11/sql-server-high-memory-usage-alert/</link>
		<comments>http://queryanalyser.wordpress.com/2009/06/11/sql-server-high-memory-usage-alert/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 10:13:06 +0000</pubDate>
		<dc:creator>CK</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Memory]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server 2008]]></category>

		<guid isPermaLink="false">http://queryanalyser.wordpress.com/?p=16</guid>
		<description><![CDATA[Hi DBA folks, This is a post especially for helping the DBA community which always gets bogged down by windows admin people and alerts which crop down daily..   Memory reached threshold limit &#60; 75% or 85%. Or free memory less than 100 MB. Please look after. I have been bogged down by lot of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=queryanalyser.wordpress.com&amp;blog=2216331&amp;post=16&amp;subd=queryanalyser&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi DBA folks,</p>
<p>This is a post especially for helping the DBA community which always gets bogged down by windows admin people and alerts which crop down daily..  </p>
<p>Memory reached threshold limit &lt; 75% or 85%. Or free memory less than 100 MB. Please look after. I have been bogged down by lot of alerts like these atleast twice or thrice a week. </p>
<p>Here are some possible solutions you can make up here is that,</p>
<ol>
<li>You can collect the evidence from Microsoft technet and knowledge base. I have a good knowledge base article,<br />
<a href="http://support.microsoft.com/kb/321363"><span style="color:#3366ff;">http://support.microsoft.com/kb/321363</span></a><span style="color:#3366ff;"> </span></li>
<li>The link explains how the memory consumption of SQL Server is dynamic and it consumes memory even if the activity is low. This is a property of SQL Server. However if the operating system or other applications* need memory SQL Server releases the un used memory. Else it is hel up in buffer pool cache.In the words of the KB article itself,<br />
<span style="color:#3366ff;">&#8220;SQL Server memory usage may continue to steadily increase and not decrease, even when activity on the server is low. Additionally, the Task Manager and Performance Monitor may show that the physical memory available on the computer is steadily decreasing until the available memory is between 4 to 10 MB.</span> </p>
<p>This behavior alone does not indicate a memory leak. This behavior is normal and is an intended behavior of the SQL Server buffer pool.&#8221; </li>
<li>You can then request the windows admin team personnel or automation team (The team which sets the alerts in memory limit) to reduce the threshold limit.  <strong>Dont forget to give the proper justification stating the Microsoft article and provide the link.</strong>The limit I suggest is to have an alert if free memory is &lt; 30 MB (50MB if the memory available is high in your case).</li>
</ol>
<p>One more point to be noted here is that, the server which hosts the SQL Server should not host other applications. This is a Microsoft recommended standard. I could not find any official article for this, but any Microsoft consultant would suggest the same. So try to host and plan the other applications on a seperate server if your budget permits.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/queryanalyser.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/queryanalyser.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/queryanalyser.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/queryanalyser.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/queryanalyser.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/queryanalyser.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/queryanalyser.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/queryanalyser.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/queryanalyser.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/queryanalyser.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/queryanalyser.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/queryanalyser.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/queryanalyser.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/queryanalyser.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=queryanalyser.wordpress.com&amp;blog=2216331&amp;post=16&amp;subd=queryanalyser&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://queryanalyser.wordpress.com/2009/06/11/sql-server-high-memory-usage-alert/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a298768b1868e13c8f3390421772bfa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">CK</media:title>
		</media:content>
	</item>
		<item>
		<title>Understanding SQL Server Data Storage Internals</title>
		<link>http://queryanalyser.wordpress.com/2009/06/09/understanding-sql-server-data-storage-internals/</link>
		<comments>http://queryanalyser.wordpress.com/2009/06/09/understanding-sql-server-data-storage-internals/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 14:09:12 +0000</pubDate>
		<dc:creator>CK</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server Internals]]></category>

		<guid isPermaLink="false">http://queryanalyser.wordpress.com/?p=14</guid>
		<description><![CDATA[I had just put this blog off to my archives, since long time. A sudden selfish interest has come now, I have decided to update this blog often atleast to enable me to ponder more things in SQL Server. Let me look into the SQL Server Data Storage internals now. The most of the following [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=queryanalyser.wordpress.com&amp;blog=2216331&amp;post=14&amp;subd=queryanalyser&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had just put this blog off to my archives, since long time. A sudden selfish interest has come now, I have decided to update this blog often atleast to enable me to ponder more things in SQL Server.</p>
<p>Let me look into the SQL Server Data Storage internals now. The most of the following descriptions are taken from the Microsoft technet. I have just organised it in a better manner to understand</p>
<p>We will split into three sections,</p>
<p>1. Heap storage</p>
<p>2. Clustered index storage</p>
<p>3. Non-clustered index storage</p>
<p>Though there are lot of sites to explain this (Esp. Books Online) , I ll try to explain this to understand easily.</p>
<p><strong>Heap Storage</strong></p>
<p>SQL Server uses the IAM pages to move through the heap. The first IAM page will be normally located in the starting part of the mdf file. An IAM (Index Allocation Map) page tracks approximately 4GB worth of space in a single file, aligned on a 4GB boundary. For the next 4GB, another IAM page will be allocated. This need not again be allocated in the start of the mdf file, this can be allocated anywhere in the mdf and IAM chains are formed with the previous IAM page. An IAM page has a header that indicates the starting extend of the range of extends covered by the IAM page. The IAM page then contains a large bit map in which eat bit represents a extend. The first bit represents the first extend covered in the 4GB pile (also called &#8216;GAM interval&#8217;) , second bit represents the second interval and so on.</p>
<p><img src="http://i.msdn.microsoft.com/ms188270.c11eea46-9d81-4b0a-90e4-46afc48d52f2(en-us,SQL.100).gif" alt="IAM pages retrieve data in a single partition heap" /></p>
<p>Accessing the data in the Heap:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>The data pages and the rows within them are not in any specific order and are not linked. The only logical connection between data pages is the information recorded in the IAM pages.  Table scans or serial reads of a heap can be performed by scanning the IAM pages to find the extents that are holding pages for the heap.</p>
<p><strong>Clustered Index Storage</strong></p>
<p><!-- body { margin: 0 0 0 0; padding:0 0 0 0 } td,div { font-family:Verdana;font-size:8pt;vertical-align:top } body { margin: 0 0 0 0; padding:0 0 0 0 } .transcript { background-color:#d2d2d2; } .messageBlock { margin-left:4px; margin-bottom:3px } .message { margin-left:100px; word-wrap:break-word; white-space:-moz-pre-wrap; _white-space:pre; } .messageCont { margin-left:100px; word-wrap:break-word; white-space:-moz-pre-wrap; _white-space:pre;} .other { color:#39577a;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; } .myself { color:#da8103;font-style:normal;font-weight:bold;font-style:normal;float:left; width:95px; } .otherCont { font-size:8px;text-align:right; color:#39577a;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; } .myselfCont { font-size:8px;text-align:right; color:#da8103;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; } .system { margin-left:4px; word-wrap:break-word;color:#da8103;font-style:normal;font-weight:normal; white-space:-moz-pre-wrap; _white-space:pre; } .showTimestamp { margin-right:3px; float:right; color:#999999;font-style:normal;font-weight:normal; } .other1 { color:#ac2000;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; } .otherCont1 { font-size:8px;text-align:right; color:#ac2000;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; } .other2 { color:#3c9fa8;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; } .otherCont2 { font-size:8px;text-align:right; color:#3c9fa8;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; } .other3 { color:#e25614;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; } .otherCont3 { font-size:8px;text-align:right; color:#e25614;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; } .other4 { color:#0b6ac8;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; } .otherCont4 { font-size:8px;text-align:right; color:#0b6ac8;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; } .other5 { color:#b23290;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; } .otherCont5 { font-size:8px;text-align:right; color:#b23290;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; } .other6 { color:#02e7c7;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; } .otherCont6 { font-size:8px;text-align:right; color:#02e7c7;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; } .other7 { color:#5b3284;vertical-align:top;font-weight:bold;font-style:normal;float:left; width:95px; } .otherCont7 { font-size:8px;text-align:right; color:#5b3284;font-family:Arial,Lucida Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; width:95px; } .tsDisplay { display:block } --> In SQL Server, indexes are organized as B-trees. Each page in an index B-tree is called an index node. The top node of the B-tree is called the root node. The bottom level of nodes in the index is called the leaf nodes. Any index levels between the root and the leaf nodes are collectively known as intermediate levels. In a clustered index, the leaf nodes contain the data pages of the underlying table. The root and intermediate level nodes contain index pages holding index rows. Each index row contains a key value and a pointer to either an intermediate level page in the B-tree, or a data row in the leaf level of the index. The pages in each level of the index are linked in a doubly-linked list. </p>
<p>The pages in the data chain and the rows in them are ordered on the value of the clustered index key. All inserts are made at the point where the key value in the inserted row fits in the ordering sequence among existing rows. SQL Server moves down the index to find the row corresponding to a clustered index key. To find a range of keys, SQL Server moves through the index to find the starting key value in the range and then scans through the data pages using the previous or next pointers. To find the first page in the chain of data pages, SQL Server follows the leftmost pointers from the root node of the index.</p>
<p><img src="http://i.msdn.microsoft.com/ms177443.d3f51b5c-786d-4d67-a519-ef19e1ae2432(en-us,SQL.100).gif" alt="Levels of a clustered index" /></p>
<p><strong>Non Clustered Indexe Storage</strong></p>
<p>Non clustered indexes also have the structure of a B tree and the difference is that the leaf node of the index has index pages and not data as in clustered index.  </p>
<p style="margin:0 0 10px;padding:0;">Nonclustered indexes can be defined on a table or view with a clustered index or a heap. Each index row in the nonclustered index contains the nonclustered key value and a row locator. This locator points to the data row in the clustered index or heap having the key value.</p>
<p style="margin:0 0 10px;padding:0;">The row locators in nonclustered index rows are either a pointer to a row or are a clustered index key for a row, as described in the following:</p>
<ul style="line-height:140%;list-style-position:outside;list-style-type:disc;margin-bottom:15px;">
<li>If the table is a heap, which means it does not have a clustered index, the row locator is a pointer to the row. The pointer is built from the file identifier (ID), page number, and number of the row on the page. The whole pointer is known as a Row ID (RID).</li>
<li>If the table has a clustered index, or the index is on an indexed view, the row locator is the clustered index key for the row. If the clustered index is not a unique index, SQL Server makes any duplicate keys unique by adding an internally generated value called a <strong><span style="font-weight:normal;">uniqueifier</span></strong>. <br />
 </li>
</ul>
<p><span style="line-height:18px;">I have tried to sort out the various data storage and access methods of SQL Server from various sources for best understanding. Hope it is useful for the reader.</span></p>
<p>Love,</p>
<p>CK.</p>
<p>References:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms180978.aspx">http://msdn.microsoft.com/en-us/library/ms180978.aspx</a></p>
<p><a href="https://blogs.msdn.com/sqlserverstorageengine/archive/2006/06/24/645803.aspx">https://blogs.msdn.com/sqlserverstorageengine/archive/2006/06/24/645803.aspx</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/queryanalyser.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/queryanalyser.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/queryanalyser.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/queryanalyser.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/queryanalyser.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/queryanalyser.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/queryanalyser.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/queryanalyser.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/queryanalyser.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/queryanalyser.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/queryanalyser.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/queryanalyser.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/queryanalyser.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/queryanalyser.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=queryanalyser.wordpress.com&amp;blog=2216331&amp;post=14&amp;subd=queryanalyser&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://queryanalyser.wordpress.com/2009/06/09/understanding-sql-server-data-storage-internals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a298768b1868e13c8f3390421772bfa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">CK</media:title>
		</media:content>

		<media:content url="http://i.msdn.microsoft.com/ms188270.c11eea46-9d81-4b0a-90e4-46afc48d52f2(en-us,SQL.100).gif" medium="image">
			<media:title type="html">IAM pages retrieve data in a single partition heap</media:title>
		</media:content>

		<media:content url="http://i.msdn.microsoft.com/ms177443.d3f51b5c-786d-4d67-a519-ef19e1ae2432(en-us,SQL.100).gif" medium="image">
			<media:title type="html">Levels of a clustered index</media:title>
		</media:content>
	</item>
		<item>
		<title>MCDBA Dumps</title>
		<link>http://queryanalyser.wordpress.com/2007/11/30/mcdba-dumps/</link>
		<comments>http://queryanalyser.wordpress.com/2007/11/30/mcdba-dumps/#comments</comments>
		<pubDate>Fri, 30 Nov 2007 16:37:03 +0000</pubDate>
		<dc:creator>CK</dc:creator>
				<category><![CDATA[Dumps]]></category>
		<category><![CDATA[SQL Server 2000]]></category>

		<guid isPermaLink="false">http://queryanalyser.wordpress.com/2007/11/30/mcdba-dumps/</guid>
		<description><![CDATA[Hi friends, I found really hard to get the dumps of MCDBA, so I share the dumps of the exams, 70-228, 70&#8211;29 and 70-290 here. Click the links below. 70-228 http://karthikeyanc.wordpress.com/2007/10/12/sql-2000-server-70-228-dumps/ 70-229 http://karthikeyanc.wordpress.com/2007/11/12/70-229-dumps/ 70-290 http://karthikeyanc.wordpress.com/2007/11/12/70-290-dumps/ All the Best. CK<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=queryanalyser.wordpress.com&amp;blog=2216331&amp;post=13&amp;subd=queryanalyser&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi friends,</p>
<p>I found really hard to get the dumps of MCDBA, so I share the dumps of the exams, 70-228, 70&#8211;29 and 70-290 here. Click the links below.</p>
<p>70-228</p>
<p><a href="http://karthikeyanc.wordpress.com/2007/10/12/sql-2000-server-70-228-dumps/">http://karthikeyanc.wordpress.com/2007/10/12/sql-2000-server-70-228-dumps/</a></p>
<p>70-229</p>
<p><a href="http://karthikeyanc.wordpress.com/2007/11/12/70-229-dumps/">http://karthikeyanc.wordpress.com/2007/11/12/70-229-dumps/</a></p>
<p>70-290</p>
<p><a href="http://karthikeyanc.wordpress.com/2007/11/12/70-290-dumps/">http://karthikeyanc.wordpress.com/2007/11/12/70-290-dumps/</a></p>
<p>All the Best.</p>
<p>CK</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/queryanalyser.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/queryanalyser.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/queryanalyser.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/queryanalyser.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/queryanalyser.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/queryanalyser.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/queryanalyser.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/queryanalyser.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/queryanalyser.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/queryanalyser.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/queryanalyser.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/queryanalyser.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/queryanalyser.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/queryanalyser.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/queryanalyser.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/queryanalyser.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=queryanalyser.wordpress.com&amp;blog=2216331&amp;post=13&amp;subd=queryanalyser&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://queryanalyser.wordpress.com/2007/11/30/mcdba-dumps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a298768b1868e13c8f3390421772bfa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">CK</media:title>
		</media:content>
	</item>
		<item>
		<title>A mild Start</title>
		<link>http://queryanalyser.wordpress.com/2007/11/29/a-mild-start/</link>
		<comments>http://queryanalyser.wordpress.com/2007/11/29/a-mild-start/#comments</comments>
		<pubDate>Thu, 29 Nov 2007 20:56:08 +0000</pubDate>
		<dc:creator>CK</dc:creator>
				<category><![CDATA[SQL Server 2000]]></category>
		<category><![CDATA[SQL Server Basics]]></category>

		<guid isPermaLink="false">http://queryanalyser.wordpress.com/2007/11/29/a-mild-start/</guid>
		<description><![CDATA[Hi people., As I heard from a collegue of mine, &#8221; There s always a first time &#8220;. And I am having a little knowledge in SQL Server to start with. And I am greatly supportive for the concept of Knowledge sharing. I start my blog from the basic concepts of SQL Server. There are number of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=queryanalyser.wordpress.com&amp;blog=2216331&amp;post=12&amp;subd=queryanalyser&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi people.,</p>
<p>As I heard from a collegue of mine, &#8221; <em>There s always a first time</em> &#8220;. And I am having a little knowledge in SQL Server to start with. And I am greatly supportive for the concept of Knowledge sharing. I start my blog from the basic concepts of SQL Server.</p>
<p>There are number of ways we can start and stop the SQL Server. Here are few.</p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><strong>Starting SQL Server:</strong></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';">                                                        </span></span></span></span></p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';"> </span>i.<span style="font:7pt 'Times New Roman';">      </span></span></span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;">net start</span></strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;"> mssqlserver</span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';">                                                            </span></span></span></span></p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';"> </span>ii.<span style="font:7pt 'Times New Roman';">      </span></span></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Prog Files -&gt; MS SQL Server -&gt; MSSQL -&gt; Binn -&gt; sqlservr.exe</span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';">                                                           </span></span></span></span></p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';"></span>iii.<span style="font:7pt 'Times New Roman';">      </span></span></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Right Click Server Icon in System Tray</span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';">                                                         </span></span></span></span></p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';"> </span>iv.<span style="font:7pt 'Times New Roman';">      </span></span></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Start Menu</span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';">                                                            </span></span></span></span></p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';"></span>v.<span style="font:7pt 'Times New Roman';">      </span></span></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;">‘<strong>Start if Stopped’</strong> Option in QA</span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';">                                                          </span></span></span></span></p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';"></span>vi.<span style="font:7pt 'Times New Roman';">      </span></span></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Services.msc Start Service</span></span></p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><strong>Stopping SQL Server</strong></span></span></p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';"> </span>i.<span style="font:7pt 'Times New Roman';">      </span></span></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;">‘<strong>Shutdown’</strong> Command</span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';">                                                            </span></span></span></span></p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';"> </span>ii.<span style="font:7pt 'Times New Roman';">      </span></span></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Right Click Server Icon in System Tray</span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';">                                                          </span></span></span></span></p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';"> </span>iii.<span style="font:7pt 'Times New Roman';">      </span></span></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Services.msc Stop Service</span></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"> </span></p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span>iv.<span style="font:7pt 'Times New Roman';">      </span></span></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;">In Enterprise Manager</span></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"></span></p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><strong>T</strong></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><strong>o Check the various properties of server, following commands can be used.</strong></span></p>
<p style="line-height:150%;margin:0;" class="MsoNormal"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"></span></p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Check Edition</span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';">  -  </span></span></span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;">select serverproperty(&#8216;Edition&#8217;)</span></strong></p>
<p><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;"></span></strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Check Instance name &#8211; </span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;">select serverproperty(&#8216;<span>InstanceName</span>&#8216;) -</span></strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Returns NULL if default instance</span></p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;"></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Check Failover Clustering</span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';">  - </span></span></span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;">select serverproperty(&#8216;<span>IsClustered’)</span></span></strong></p>
<p><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span></span></span></strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Check if in Single User Mode &#8211; </span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';"> </span></span></span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;">select serverproperty(&#8216;<span>IsSingleUser’)</span></span></strong></p>
<p><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span></span></span></strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;"></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Check License Type of Server &#8211; </span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';"></span></span></span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;">select serverproperty(&#8216;<span>LicenseType’)</span></span></strong></p>
<p><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span></span></span></strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;"></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Check Processor Count, Processor Type, Physical Memory, WindowsVersion, ProductName, ProductVersion &#8211; </span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';"> </span></span></span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Xp_msver</span></strong></p>
<p><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;"></span></strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Check Server Name</span></p>
<p><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span>i.<span style="font:7pt 'Times New Roman';">       </span></span></span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Select serverproperty(‘</span></strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;">servername<strong>’)</strong></span></p>
<p style="text-indent:-1.5in;line-height:150%;margin:0 0 0 1.5in;" class="MsoNormal"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"><span><span style="font:7pt 'Times New Roman';"> </span>ii.<span style="font:7pt 'Times New Roman';">      </span></span></span><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Select @@servername</span></strong></p>
<p style="text-indent:-1.5in;line-height:150%;margin:0 0 0 1.5in;" class="MsoNormal"><strong><span style="font-size:10pt;line-height:150%;font-family:Verdana;"></span></strong></p>
<p style="text-indent:-1.5in;line-height:150%;margin:0 0 0 1.5in;" class="MsoNormal"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"></span></p>
<p style="text-indent:-1.5in;line-height:150%;margin:0 0 0 1.5in;" class="MsoNormal"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"></span></p>
<p style="text-indent:-1.5in;line-height:150%;margin:0 0 0 1.5in;" class="MsoNormal"><span style="font-size:10pt;line-height:150%;font-family:Verdana;"></span><span style="font-size:10pt;line-height:150%;font-family:Verdana;"></p>
<p>Continued in part II. </span></p>
<p style="text-indent:-1.5in;line-height:150%;margin:0 0 0 1.5in;" class="MsoNormal"><span style="font-size:10pt;line-height:150%;font-family:Verdana;">Squirrel will play more. <strong>Ck</strong>.</span></p>
<p></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/queryanalyser.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/queryanalyser.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/queryanalyser.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/queryanalyser.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/queryanalyser.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/queryanalyser.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/queryanalyser.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/queryanalyser.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/queryanalyser.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/queryanalyser.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/queryanalyser.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/queryanalyser.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/queryanalyser.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/queryanalyser.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/queryanalyser.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/queryanalyser.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=queryanalyser.wordpress.com&amp;blog=2216331&amp;post=12&amp;subd=queryanalyser&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://queryanalyser.wordpress.com/2007/11/29/a-mild-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a298768b1868e13c8f3390421772bfa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">CK</media:title>
		</media:content>
	</item>
		<item>
		<title>A Hello from Squirrel</title>
		<link>http://queryanalyser.wordpress.com/2007/11/27/hello-world/</link>
		<comments>http://queryanalyser.wordpress.com/2007/11/27/hello-world/#comments</comments>
		<pubDate>Tue, 27 Nov 2007 23:33:20 +0000</pubDate>
		<dc:creator>CK</dc:creator>
				<category><![CDATA[SQL Server 2000]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi People. This is my first post. I ve dedicated this blog for the techie stuffs of SQL Server. This blog is a Silent bubble over Sea. Hippo. CK.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=queryanalyser.wordpress.com&amp;blog=2216331&amp;post=1&amp;subd=queryanalyser&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi People.</p>
<p>This is my first post. I ve dedicated this blog for the techie stuffs of SQL Server.</p>
<p>This blog is a Silent bubble over Sea.</p>
<p>Hippo. CK.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/queryanalyser.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/queryanalyser.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/queryanalyser.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/queryanalyser.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/queryanalyser.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/queryanalyser.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/queryanalyser.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/queryanalyser.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/queryanalyser.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/queryanalyser.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/queryanalyser.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/queryanalyser.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/queryanalyser.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/queryanalyser.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/queryanalyser.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/queryanalyser.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=queryanalyser.wordpress.com&amp;blog=2216331&amp;post=1&amp;subd=queryanalyser&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://queryanalyser.wordpress.com/2007/11/27/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7a298768b1868e13c8f3390421772bfa?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">CK</media:title>
		</media:content>
	</item>
	</channel>
</rss>
