<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SQL Server Storage Engine : General</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx</link><description>Tags: General</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>CHECKSUM and Tempdb</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2008/03/23/checksum-and-tempdb.aspx</link><pubDate>Mon, 24 Mar 2008 00:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8332663</guid><dc:creator>Sunil Agarwal</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sqlserverstorageengine/comments/8332663.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sqlserverstorageengine/commentrss.aspx?PostID=8332663</wfw:commentRss><description>&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;You may recall that starting with SQL Server 2005, you have an option available to enable CHECKSUM on the user databases.&amp;nbsp; For details, please refer to &lt;A href="http://blogs.msdn.com/sqlserverstorageengine/archive/2006/06/29/Enabling-CHECKSUM-in-SQL2005.aspx" mce_href="http://blogs.msdn.com/sqlserverstorageengine/archive/2006/06/29/Enabling-CHECKSUM-in-SQL2005.aspx"&gt;&lt;SPAN style="COLOR: blue; mso-bidi-font-size: 11.0pt"&gt;http://blogs.msdn.com/sqlserverstorageengine/archive/2006/06/29/Enabling-CHECKSUM-in-SQL2005.aspx&lt;/SPAN&gt;&lt;/A&gt;.&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;In fact, any new database created in SQL2005 has CHECKSUM enabled automatically but it does not happen to databases that are upgraded from previous versions&amp;nbsp;of SQL Server. For the upgraded databases from SQL Server versions earlier than SQL Server2005, you will need to enable CHECKSUM explicitly using ALTER DATABASE command. Enabling CHECKSUM is critical and it allows&amp;nbsp;SQL Server&amp;nbsp;to detect the corruption in the IO path (e.g. a disk malfunction) when the page is read as part of query or when you run DBCC CHECKDB command. While this has been very useful to our customers, there was one missing link and that was that SQL Server did not allow enabling CHECKSUM on tempdb. This provided a window where a page corrupted due to mis-behaving disk found its way into user database even if you had enabled CHECKSUM on the databse. Here is one such scenario&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-size: 11.0pt"&gt;Scenario::&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt; bulk import the data into a temp table for staging purposes and then move it to the user database. The user database has CHECKSUM enabled, so the new page, when written to the disk, will have checksum computed. But guess what is missing? If the tempdb disk corrupts the pages in tempdb, SQL Server will have no way of&amp;nbsp;knowing that the page was corrupted and it will go to user database without detection. Yes, when the page is subsequently read, depending upon what the corruption was,&amp;nbsp;the SQL Server may detect&amp;nbsp;it or may not. For example if a bit flip happened&amp;nbsp;for the integer value, it will go undetected.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;With&amp;nbsp;CHECKSUM&amp;nbsp;available on tempdb starting with SQL2008, you can finally close this window.&amp;nbsp;&amp;nbsp;You can use the following command&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;FONT size=3&gt;&lt;SPAN style="FONT-FAMILY: 'Bodoni MT','serif'; mso-bidi-font-family: Arial; mso-fareast-font-family: 'Times New Roman'"&gt;ALTER DATASE tempdb set PAGE_VERIFY CHECKSUM&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;For new installs of SQL Server 2008, all tempdbs will have CHECKSUM enabled by default. You can always disable it using ALTER DATABASE command but we don't recommend it. For databases upgraded to SQL Server 2008, you will need to explicitly enable CHECKSUM on the tempdb. We measured the performance impact of enabling CHECKSUM in tempdb and the impact is very low (&amp;lt;2% of CPU) which is similar to what you would expect in user database. Since the CHECKSUM is only computed when page is written to the disk, the added point is that there is no 'checkpoint' in tempdb, so a page in tempdb is written to disk ONLY under memory pressure. So you may not see as many CHECKSUM calculations in tempdb.&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&amp;nbsp;Note, this is not available in CTP-6 but will be available in RTM bits.&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt; LINE-HEIGHT: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;Thanks&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Sunil&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8332663" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/TempDB/default.aspx">TempDB</category><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx">General</category></item><item><title>ok - really the last blog post - Mondays, Mystic, and a Museum</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2007/08/23/ok-really-the-last-blog-post.aspx</link><pubDate>Thu, 23 Aug 2007 21:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4529924</guid><dc:creator>Paul Randal - MSFT</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sqlserverstorageengine/comments/4529924.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sqlserverstorageengine/commentrss.aspx?PostID=4529924</wfw:commentRss><description>&lt;P&gt;My new blog's not active until September 1st but I wanted to blog about something cool - and totally unrelated to work. Over the weekend Kimberly and I were in Connecticut for&amp;nbsp;the birthday party pig-roast for Carl Franklin (of &lt;A class="" href="http://www.dotnetrocks.com/" mce_href="http://www.dotnetrocks.com/"&gt;DotNetRocks&lt;/A&gt; fame) along with our good friends &lt;A class="" href="http://www.campbellassociates.ca/blog/default.aspx" mce_href="http://www.campbellassociates.ca/blog/default.aspx"&gt;Richard Campbell&lt;/A&gt; - also from DotNetRocks - and his wife Stacy and&amp;nbsp;&lt;A class="" href="http://www.dasblonde.net/" mce_href="http://www.dasblonde.net/"&gt;Michele Leroux Bustamante&lt;/A&gt;. Apart from the great party, we got to be the live audience for the latest recording of their comedy show &lt;A class="" href="http://mondays.pwop.com/" mce_href="http://mondays.pwop.com/"&gt;Mondays&lt;/A&gt;&amp;nbsp;in the very cool studio where DotNetRocks is&amp;nbsp;recorded and produced.&amp;nbsp;This is one of the funniest shows I've ever heard - &lt;A class="" href="http://www.doitwith.net/2007/08/20/Episode71OfMondaysIsUp.aspx" mce_href="http://www.doitwith.net/2007/08/20/Episode71OfMondaysIsUp.aspx"&gt;Mark Miller&lt;/A&gt; had us crying with laughter. I heartily encourage you to listen - parental advisory though - not for the sensitive or easily offended :-) The link to the show is &lt;A class="" href="http://mondays.pwop.com/default.aspx?showID=79" mce_href="http://mondays.pwop.com/default.aspx?showID=79"&gt;here&lt;/A&gt;&amp;nbsp;- all I can say is BANANAS!!!&lt;/P&gt;
&lt;P&gt;While we were there we also went to &lt;A class="" href="http://www.mysticseaport.org/" mce_href="http://www.mysticseaport.org/"&gt;Mystic Seaport&lt;/A&gt; and the &lt;A class="" href="http://www.ussnautilus.org/" mce_href="http://www.ussnautilus.org/"&gt;US Navy Submarine Force Museum&lt;/A&gt;&amp;nbsp;- both excellent and well worth visiting, especially if you're a ships-and-submarines nut like me.&lt;/P&gt;
&lt;P&gt;Cheers!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4529924" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx">General</category></item><item><title>Splits and unions...</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2007/07/30/announcements.aspx</link><pubDate>Tue, 31 Jul 2007 00:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4136601</guid><dc:creator>Paul Randal - MSFT</dc:creator><slash:comments>13</slash:comments><comments>http://blogs.msdn.com/sqlserverstorageengine/comments/4136601.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sqlserverstorageengine/commentrss.aspx?PostID=4136601</wfw:commentRss><description>&lt;P&gt;Hey folks,&lt;/P&gt;
&lt;P&gt;This is my last blog post on the SQL Server Storage Engine blog as&amp;nbsp;I've made the decision to leave Microsoft and join &lt;A class="" href="http://www.sqlskills.com/blogs/kimberly/" mce_href="http://www.sqlskills.com/blogs/kimberly/"&gt;Kimberly&lt;/A&gt;&amp;nbsp;running her company, SQLskills.com. This lets me indulge my passion for teaching and consulting full-time and lets me work with my best friend. My last day at Microsoft is August 31st and from September 1st I'll be blogging at &lt;A href="http://www.sqlskills.com/blogs/paul/"&gt;http://www.sqlskills.com/blogs/paul/&lt;/A&gt;. I'd like to thank all of you for reading my posts here, commenting and emailing me, and I really hope you'll continue to read this blog, as well as my new one :-)&lt;/P&gt;
&lt;P&gt;More importantly, yesterday (Sunday, July 29th 2007), Kimberly Tripp and I were married at &lt;A class="" href="http://www.thewoodmark.com/" mce_href="http://www.thewoodmark.com/"&gt;The Woodmark Hotel in Kirkland, WA&lt;/A&gt;, with around 100 friends and family in attendance.&amp;nbsp;Below is&amp;nbsp;a photo of us courtesy of our fabulous photographer, &lt;A class="" href="http://www.johnmarkphotography.com/" mce_href="http://www.johnmarkphotography.com"&gt;John Mitchell&lt;/A&gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG style="WIDTH: 900px; HEIGHT: 601px" height=601 src="http://www.sqlskills.com/images/VR6E4339.jpg" width=900 mce_src="http://www.sqlskills.com/images/VR6E4339.jpg"&gt;&lt;/P&gt;
&lt;P&gt;Here's a link to his blog with some great pictures of the &lt;A class="" href="http://www.johnmarkphotography.com/about/?p=195" mce_href="http://www.johnmarkphotography.com/about/?p=195"&gt;BBQ we threw on Friday&lt;/A&gt;&amp;nbsp;at our house.&lt;/P&gt;
&lt;P&gt;Thanks and best regards to you all!&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4136601" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx">General</category></item><item><title>Would you like to join the Storage Engine PM team?</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2007/05/12/would-you-like-to-join-the-storage-engine-pm-team.aspx</link><pubDate>Sat, 12 May 2007 17:16:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2572089</guid><dc:creator>Paul Randal - MSFT</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sqlserverstorageengine/comments/2572089.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sqlserverstorageengine/commentrss.aspx?PostID=2572089</wfw:commentRss><description>&lt;P&gt;We have some job openings on the Storage Engine Program Management team - if you're looking for a great career opportunity helping to drive the product you love using, check them out.&lt;/P&gt;
&lt;P&gt;What does a Program Manager do? This &lt;A class="" href="http://blogs.msdn.com/techtalk/archive/2005/12/16/504872.aspx" mce_href="http://blogs.msdn.com/techtalk/archive/2005/12/16/504872.aspx"&gt;blog entry&lt;/A&gt; by Steven Sinofsky (one of our Senior VPs) sums it up nicely.&lt;/P&gt;
&lt;P&gt;Here are links to some of our job descriptions on the Microsoft careers website:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class="" href="http://members.microsoft.com/careers/search/results.aspx?FromCP=Y&amp;amp;JobCategoryCodeID=&amp;amp;JobLocationCodeID=&amp;amp;JobProductCodeID=10041&amp;amp;JobTitleCodeID=10255&amp;amp;Divisions=&amp;amp;TargetLevels=&amp;amp;Keywords=%20&amp;amp;JobCode=184411&amp;amp;ManagerAlias=&amp;amp;Interval=10" mce_href="http://members.microsoft.com/careers/search/results.aspx?FromCP=Y&amp;amp;JobCategoryCodeID=&amp;amp;JobLocationCodeID=&amp;amp;JobProductCodeID=10041&amp;amp;JobTitleCodeID=10255&amp;amp;Divisions=&amp;amp;TargetLevels=&amp;amp;Keywords=%20&amp;amp;JobCode=184411&amp;amp;ManagerAlias=&amp;amp;Interval=10"&gt;184411&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://members.microsoft.com/careers/search/results.aspx?FromCP=Y&amp;amp;JobCategoryCodeID=&amp;amp;JobLocationCodeID=&amp;amp;JobProductCodeID=10041&amp;amp;JobTitleCodeID=10255&amp;amp;Divisions=&amp;amp;TargetLevels=&amp;amp;Keywords=%20&amp;amp;JobCode=185477&amp;amp;ManagerAlias=&amp;amp;Interval=10" mce_href="http://members.microsoft.com/careers/search/results.aspx?FromCP=Y&amp;amp;JobCategoryCodeID=&amp;amp;JobLocationCodeID=&amp;amp;JobProductCodeID=10041&amp;amp;JobTitleCodeID=10255&amp;amp;Divisions=&amp;amp;TargetLevels=&amp;amp;Keywords=%20&amp;amp;JobCode=185477&amp;amp;ManagerAlias=&amp;amp;Interval=10"&gt;185477&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://members.microsoft.com/careers/search/results.aspx?FromCP=Y&amp;amp;JobCategoryCodeID=&amp;amp;JobLocationCodeID=&amp;amp;JobProductCodeID=10041&amp;amp;JobTitleCodeID=10255&amp;amp;Divisions=&amp;amp;TargetLevels=&amp;amp;Keywords=%20&amp;amp;JobCode=184507&amp;amp;ManagerAlias=&amp;amp;Interval=10" mce_href="http://members.microsoft.com/careers/search/results.aspx?FromCP=Y&amp;amp;JobCategoryCodeID=&amp;amp;JobLocationCodeID=&amp;amp;JobProductCodeID=10041&amp;amp;JobTitleCodeID=10255&amp;amp;Divisions=&amp;amp;TargetLevels=&amp;amp;Keywords=%20&amp;amp;JobCode=184507&amp;amp;ManagerAlias=&amp;amp;Interval=10"&gt;184507&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://members.microsoft.com/careers/search/results.aspx?FromCP=Y&amp;amp;JobCategoryCodeID=&amp;amp;JobLocationCodeID=&amp;amp;JobProductCodeID=10041&amp;amp;JobTitleCodeID=10255&amp;amp;Divisions=&amp;amp;TargetLevels=&amp;amp;Keywords=%20&amp;amp;JobCode=167995&amp;amp;ManagerAlias=&amp;amp;Interval=10" mce_href="http://members.microsoft.com/careers/search/results.aspx?FromCP=Y&amp;amp;JobCategoryCodeID=&amp;amp;JobLocationCodeID=&amp;amp;JobProductCodeID=10041&amp;amp;JobTitleCodeID=10255&amp;amp;Divisions=&amp;amp;TargetLevels=&amp;amp;Keywords=%20&amp;amp;JobCode=167995&amp;amp;ManagerAlias=&amp;amp;Interval=10"&gt;167995&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;If any of these look interesting to you then send an email to &lt;A href="mailto:sethuk@microsoft.com"&gt;sethuk@microsoft.com&lt;/A&gt; with your resume/CV attached and we'll take it from there.&lt;/P&gt;
&lt;P&gt;Look forward to hearing from you!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2572089" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx">General</category></item><item><title>What's the difference between database version and database compatibility level?</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2007/04/26/what-s-the-difference-between-database-version-and-database-compatibility-level.aspx</link><pubDate>Fri, 27 Apr 2007 02:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2293015</guid><dc:creator>Paul Randal - MSFT</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sqlserverstorageengine/comments/2293015.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sqlserverstorageengine/commentrss.aspx?PostID=2293015</wfw:commentRss><description>&lt;P&gt;I had a question this week from someone who'd heard me say at SQL Connections (paraphrasing) "database compatibility level is mostly about query parsing" and was having trouble trying to forcibly attach a 2005 or 7.0 database to a 2000 server.&lt;/P&gt;
&lt;P&gt;His&amp;nbsp;confusion is between database compatibility level and database&lt;EM&gt; version&lt;/EM&gt;. Here's a quick explanation of the difference.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Database version&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The database version is a number stamped in the boot page of a database that indicates the SQL Server version of the most recent SQL Server instance the database was attached to. The database version number does not equal the SQL Server version. For example,&amp;nbsp;doing the following:&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;SELECT&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;@@version&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;GO&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;on one SQL Server instance on my laptop returns:&lt;/P&gt;
&lt;P&gt;Microsoft SQL Server 2005 - 9.00.2050.00 (Intel X86)&amp;nbsp;&amp;nbsp; Feb 13 2007 23:02:48&amp;nbsp;&amp;nbsp; Copyright (c) 1988-2005 Microsoft Corporation&amp;nbsp; Developer Edition on Windows NT 5.1 (Build 2600: Service Pack 2) &lt;/P&gt;
&lt;P&gt;which I think is an intermediate SP2 build - not bothering to check. However, the database version is 611. You can't see this except using undocumented DBCC commands (which I'm not blogging - yet) but if you attach a database from an earlier version of SQL Server, you'll see these numbers in the error log as SQL Server reports what upgrade steps its doing.&lt;/P&gt;
&lt;P&gt;[Edit: I stand corrected. Thanks to Trayce Jordan at Microsoft for pointing out that the database version will be returned using the following T-SQL:&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;USE&lt;/FONT&gt;&lt;FONT size=2&gt; master&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;GO&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;SELECT&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff00ff size=2&gt;DatabaseProperty &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'dbccpagetest'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'version'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;);&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;GO&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;/Edit]&lt;/P&gt;
&lt;P&gt;Some things to note about database version:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;SQL Server is not up-level compatible. You cannot attach a database that was created on (or has been upgraded to) SQL Server 2005 to any earlier version of SQL Server (also true for trying to attach a 2000 database to 7.0, and so on).&lt;/LI&gt;
&lt;LI&gt;You cannot attach a database that was created on an earlier version without going through the proper upgrade procedures. Forcibly attaching a database using various hacky methods will result in all kinds of weird errors, and possibly crashes.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Database compatibility level&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;The database compatibility level determines how certain database behaviors work. For instance, in 90 compatibility, you need to use the OUTER JOIN syntax to do an outer join, whereas in earlier compatibility levels, you can use '*=' and '=*'. Contrary to popular myth, all of the behavioral differences ARE documented - in the Books Online section for &lt;STRONG&gt;sp_dbcmptlevel&lt;/STRONG&gt; - the SP used to set the compatibility level.&lt;/P&gt;
&lt;P mce_keep="true"&gt;There are 5 supported compatibility levels support by SQL Server 2005:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;B&gt;60&lt;/B&gt; = SQL Server 6.0 &lt;/P&gt;
&lt;P&gt;&lt;B&gt;65&lt;/B&gt; = SQL Server 6.5 &lt;/P&gt;
&lt;P&gt;&lt;B&gt;70&lt;/B&gt; = SQL Server 7.0 &lt;/P&gt;
&lt;P&gt;&lt;B&gt;80&lt;/B&gt; = SQL Server 2000 &lt;/P&gt;
&lt;P&gt;&lt;B&gt;90&lt;/B&gt; = SQL Server 2005 &lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can see the compatibility level of all databases by doing:&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;SELECT&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;name&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;AS&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'DB Name'&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;compatibility_level &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;AS&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;'Compatibility Level'&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;FROM&lt;/FONT&gt;&lt;FONT size=2&gt; master&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;sys.databases&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;GO&lt;/P&gt;
&lt;P&gt;Some things to note about compatibility levels:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A database created on SQL Server 2005 will have a default compatibility level of 90, unless the &lt;EM&gt;model&lt;/EM&gt; database has a different compatibility level, in which case the new database inherits the compatibility level of &lt;EM&gt;model&lt;/EM&gt;.&lt;/LI&gt;
&lt;LI&gt;New features may work under older compatibility levels but beware of SET options.&lt;/LI&gt;
&lt;LI&gt;An upgraded database retains its compatibility level. For example, a database that was created on SQL Server 2000, and didn't have its compatibility level altered, will stay in 80 compatibility level when its upgraded to SQL Server 2005.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Summary&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This was just a quick - and by no means comprehensive - explanation of the difference between the two terms. Basically, there's no relationship between them.&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2293015" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx">General</category></item><item><title>SP2 Maintenance Plan bugs fixed</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2007/04/12/sp2-maintenance-plan-bugs-fixed.aspx</link><pubDate>Fri, 13 Apr 2007 03:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2106442</guid><dc:creator>Paul Randal - MSFT</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sqlserverstorageengine/comments/2106442.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sqlserverstorageengine/commentrss.aspx?PostID=2106442</wfw:commentRss><description>&lt;P&gt;From the tools team here in Redmond:&lt;/P&gt;
&lt;P&gt;We recently posted updates to address an issue in two SP2 Maintenance Plan&lt;BR&gt;tasks. The KB article describes the symptoms as follows:&lt;BR&gt;&lt;BR&gt;FIX: The Check Database Integrity task and the Execute T-SQL Statement task&lt;BR&gt;in a maintenance plan may lose database context in certain circumstances in&lt;BR&gt;SQL Server 2005&lt;BR&gt;&lt;BR&gt;In Microsoft SQL Server 2005 Service Pack 2 (SP2), the following tasks in a&lt;BR&gt;maintenance plan may lose database context in certain circumstances:&lt;BR&gt;. Check Database Integrity&lt;BR&gt;. Execute T-SQL Statement&lt;BR&gt;For example, if a Check Database Integrity task is configured to check&lt;BR&gt;integrity on multiple databases, the task repeatedly checks the default&lt;BR&gt;database.&lt;BR&gt;&lt;BR&gt;For the Execute T-SQL Statement task, this problem occurs if the following&lt;BR&gt;conditions are true:&lt;BR&gt;. The Execute T-SQL Statement task contains multiple batches.&lt;BR&gt;. The batches are separated by the GO statement.&lt;BR&gt;. No batches use the USE statement to specify the database.&lt;BR&gt;. The statements in each batch do not contain the database name.&lt;BR&gt;In this scenario, those statements in the second batch and in succeeding&lt;BR&gt;batches will be executed against the default database.&lt;BR&gt;&lt;BR&gt;This fix is shipped in two different packages:&lt;BR&gt;. The GDR release is available via &lt;A href="http://support.microsoft.com/kb/934458"&gt;http://support.microsoft.com/kb/934458&lt;/A&gt;&lt;BR&gt;. The QFE release is available via &lt;A href="http://support.microsoft.com/kb/934459"&gt;http://support.microsoft.com/kb/934459&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;What is the difference between a GDR and QFE release? GDRs are a new means&lt;BR&gt;of providing support. GDR fixes are reserved for those issues identified by&lt;BR&gt;SQL Server support as important enough to install on every instance of SQL&lt;BR&gt;Server. QFEs are used for the majority of fixes where the effects of the&lt;BR&gt;problem are not widespread or severe enough to warrant a GDR.&lt;BR&gt;&lt;BR&gt;GDRs and QFEs are associated with certain build numbers. Build numbers 3043&lt;BR&gt;through 3149 are reserved for GDR releases. Build numbers 3150 and up are&lt;BR&gt;reserved for QFEs. By reserving lower build numbers for GDR releases, users&lt;BR&gt;can continue to take advantage of GDR fixes, without having to install QFEs,&lt;BR&gt;which aggregate all the fixes shipped since the most recent service pack.&lt;BR&gt;Once a QFE is installed, GDRs will no longer update your system, because the&lt;BR&gt;build number is too low, and you have to install QFEs to pick up new fixes.&lt;BR&gt;&lt;BR&gt;Why is this fix a GDR? This fix was promoted to GDR because users that&lt;BR&gt;relied on the Check Database Integrity task to validate their databases were&lt;BR&gt;not informed of database integrity issues that they expected to be detected.&lt;BR&gt;The fix also addresses issues in the Execute T-SQL task, but, since these&lt;BR&gt;issues typically lead to script failure, duly noted by SQL Server, the T-SQL&lt;BR&gt;issues alone were not enough to justify the GDR.&lt;BR&gt;&lt;BR&gt;Those users who now, or in the future, rely on the Check Database Integrity&lt;BR&gt;Task or the Execute T-SQL task in a maintenance plan should install the GDR.&lt;BR&gt;Others may skip the GDR.&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2106442" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx">General</category><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/VLDB+Maintenance/default.aspx">VLDB Maintenance</category></item><item><title>New whitepaper on Online Indexing Operations</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2007/03/15/new-whitepaper-on-online-indexing-operations.aspx</link><pubDate>Thu, 15 Mar 2007 16:56:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1887417</guid><dc:creator>Paul Randal - MSFT</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sqlserverstorageengine/comments/1887417.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sqlserverstorageengine/commentrss.aspx?PostID=1887417</wfw:commentRss><description>&lt;P&gt;A great new whitepaper has just been published on TechNet - &lt;A class="" href="http://www.microsoft.com/technet/prodtechnol/sql/2005/onlineindex.mspx" mce_href="http://www.microsoft.com/technet/prodtechnol/sql/2005/onlineindex.mspx"&gt;Online Indexing Operation in SQL Server 2005&lt;/A&gt;. It gives a detailed explanation of the online index build process plus guidelines and best practices for implementing online indexing in production. Well worth reading.&lt;/P&gt;
&lt;P&gt;While I'm on the subject, some other whitepapers around the Storage Engine that are well worth reading too:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class="" href="http://www.microsoft.com/technet/prodtechnol/sql/2005/physdbstor.mspx" mce_href="http://www.microsoft.com/technet/prodtechnol/sql/2005/physdbstor.mspx"&gt;Physical Database Storage Design&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://www.microsoft.com/technet/prodtechnol/sql/2005/tsprfprb.mspx" mce_href="http://www.microsoft.com/technet/prodtechnol/sql/2005/tsprfprb.mspx"&gt;Troubleshooting Performance Problems in SQL Server 2005&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://www.microsoft.com/technet/prodtechnol/sql/2005/workingwithtempdb.mspx" mce_href="http://www.microsoft.com/technet/prodtechnol/sql/2005/workingwithtempdb.mspx"&gt;Working with tempdb in SQL Server 2005&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://www.microsoft.com/technet/prodtechnol/sql/2005/technologies/dbm_best_pract.mspx" mce_href="http://www.microsoft.com/technet/prodtechnol/sql/2005/technologies/dbm_best_pract.mspx"&gt;Database Mirroring Best Practices and Performance Considerations&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://www.microsoft.com/technet/prodtechnol/sql/2005/iobasics.mspx" mce_href="http://www.microsoft.com/technet/prodtechnol/sql/2005/iobasics.mspx"&gt;SQL Server I/O Basics, Chapter 2&lt;/A&gt; (SQL Server 2005)&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Enjoy&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1887417" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx">General</category></item><item><title>Can you INCLUDE columns of type TEXT, NTEXT, or IMAGE?</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2007/03/14/can-you-include-columns-of-type-text-ntext-or-image.aspx</link><pubDate>Thu, 15 Mar 2007 00:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1882842</guid><dc:creator>Paul Randal - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/sqlserverstorageengine/comments/1882842.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sqlserverstorageengine/commentrss.aspx?PostID=1882842</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;I was sent a question today that seems like it could be something that many people get confused about – why can’t an NTEXT column be specified in the INCLUDE list of a CREATE INDEX statement in SQL 2005?&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;(In one of my &lt;A href="http://blogs.msdn.com/sqlserverstorageengine/archive/2006/06/25/646865.aspx"&gt;internals posts&lt;/A&gt; from last year there’s a long explanation of included columns – its basically a way to have true covering indexes to save IOs by not having to go back to the base table once an index row has been found).&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;The answer to the question is that columns of the legacy large-value data types (TEXT, NTEXT, and IMAGE) cannot be used in the INCLUDE list. You’ll need to change the schema to use one of the new large-value data types (VARCHAR(MAX), NVARCHAR(MAX), VARBINARY(MAX), and XML).&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;The new types are stored in almost exactly the same way as the legacy types, but the internals of how they are processed by the server are different so they behave like regular data types (in that they work with most T-SQL intrinsic functions and can be used as included columns).&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;For a more detailed list of possibilities and restrictions on included columns, see the BOL topic Index with Included Columns (look for ‘included columns’ in the BOL Index).&lt;/SPAN&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1882842" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx">General</category></item><item><title>How to create fake statistics for testing query plans</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2007/03/12/how-to-create-fake-statistics-for-testing-query-plans.aspx</link><pubDate>Tue, 13 Mar 2007 04:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1869045</guid><dc:creator>Paul Randal - MSFT</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sqlserverstorageengine/comments/1869045.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sqlserverstorageengine/commentrss.aspx?PostID=1869045</wfw:commentRss><description>&lt;P&gt;This is very cool - an undocumented option to UPDATE STATISTICS that allows you to fool the server into thinking a table has more rows or pages than it actually has - very useful for testing. See &lt;A class="" href="http://blogs.msdn.com/queryoptteam/archive/2006/07/21/674350.aspx" mce_href="http://blogs.msdn.com/queryoptteam/archive/2006/07/21/674350.aspx"&gt;this blog post&lt;/A&gt; on the old Query Optimizer team blog. Thanks to &lt;A class="" href="http://sqlblogcasts.com/blogs/tonyrogerson/" mce_href="http://sqlblogcasts.com/blogs/tonyrogerson/"&gt;Tony Rogerson&lt;/A&gt; for pointing it out.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1869045" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx">General</category></item><item><title>Sometimes life throws you a curve-ball...</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2007/03/11/sometimes-life-throws-you-a-curve-ball.aspx</link><pubDate>Sun, 11 Mar 2007 10:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1857347</guid><dc:creator>Paul Randal - MSFT</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sqlserverstorageengine/comments/1857347.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sqlserverstorageengine/commentrss.aspx?PostID=1857347</wfw:commentRss><description>&lt;P&gt;Many apologies to those who were hoping to see my presentation on corruption detection and recovery at &lt;A class="" href="http://www.miracleas.dk/index.asp?page=168&amp;amp;page2=323" mce_href="http://www.miracleas.dk/index.asp?page=168&amp;amp;page2=323"&gt;SQL Server Open World&lt;/A&gt; in Denmark last week. An emergency came up after the class Kimberly and I taught in England and we ended up flying a *lot* further than we'd planned - basically all the rest of the way round the world. Anyway, more details on Kimberly's blog &lt;A class="" href="http://www.sqlskills.com/blogs/kimberly/2007/03/11/SometimesLifeJustHappensASincereApologyToTheOpenWorldAttendees.aspx" mce_href="http://www.sqlskills.com/blogs/kimberly/2007/03/11/SometimesLifeJustHappensASincereApologyToTheOpenWorldAttendees.aspx"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;for the England event,&amp;nbsp;we got a ton of ideas for blog post topics - look for these over the next few months spread over both blogs. I've also had lots of email responses to the last few posts - I'll reply/post when I'm back in the US (I'm typing this while en-route home, we're&amp;nbsp;in Narita/Tokyo...)&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1857347" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx">General</category></item><item><title>CHECKDB, User Groups and .NET Rocks!</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2007/02/28/checkdb-user-groups-and-net-rocks.aspx</link><pubDate>Wed, 28 Feb 2007 17:38:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1774318</guid><dc:creator>Paul Randal - MSFT</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/sqlserverstorageengine/comments/1774318.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sqlserverstorageengine/commentrss.aspx?PostID=1774318</wfw:commentRss><description>&lt;P&gt;A few things to cover with the first cup of coffee this morning before doing a meatier post or two later today.&lt;/P&gt;
&lt;P&gt;First off - I've had a bunch of good responses to my &lt;A class="" href="http://blogs.msdn.com/sqlserverstorageengine/archive/2007/02/13/how-long-does-your-checkdb-take.aspx" mce_href="http://blogs.msdn.com/sqlserverstorageengine/archive/2007/02/13/how-long-does-your-checkdb-take.aspx"&gt;CHECKDB runtime survey&lt;/A&gt;&amp;nbsp;and I've got data on 66 databases ranging from 10.5GB up to 2.8TB. I'd like to get some more responses, and I have a lot more DVDs to send anywhere in the world so please take some time to respond. Some of the answers have been eye-opening and I'll blog on at least one facet of these later today. Depending on your answers and needs, we may be able to setup a 1-1 con-call to discuss issues around corruption detection and recovery.&lt;/P&gt;
&lt;P&gt;Next up is user groups. As part of the same feedback program on CHECKDB, I've been asking around internal Microsoft aliases to get in touch with customers and out of that has come plans to do remote presentations at user groups around the world. Do you run a SQL Server user group and would be interested in a remote presentation from me or one of my team in the Storage Engine? If so, drop me a line at &lt;A class="" title=prandal@microsoft.com href="mailto:prandal@microsoft.com" mce_href="mailto:prandal@microsoft.com?Subject=User Group Presentation"&gt;prandal@microsoft.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Finally, a couple of weeks back I did a &lt;A class="" href="http://www.dotnetrocks.com/default.aspx?showNum=217" mce_href="http://www.dotnetrocks.com/default.aspx?showNum=217"&gt;.NET Rocks!&lt;/A&gt; interview with Richard and Carl who I met at TechEd in Barcelona last year. It'll be released on their website March 6th and I talk a lot about CHECKDB, checksums, emergency mode repair and some of the daft things people do. We also ambush a special SQL community guest :-)&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1774318" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx">General</category></item><item><title>SQL Server 2005 Best Practices Analyzer CTP released</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2007/02/22/sql-server-2005-best-practices-analyzer-ctp-released.aspx</link><pubDate>Thu, 22 Feb 2007 23:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1743467</guid><dc:creator>Paul Randal - MSFT</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sqlserverstorageengine/comments/1743467.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sqlserverstorageengine/commentrss.aspx?PostID=1743467</wfw:commentRss><description>&lt;P&gt;Folks,&lt;/P&gt;
&lt;P&gt;The much-anticipated SQL Server 2005 Best Practices Analyzer has been released for on the Microsoft Download Center. There are a ton of things in there, including some checks around backup and CHECKDB frequency.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SQL Server 2005 Best Practices Analyzer (February 2007 CTP):&lt;BR minmax_bound="true"&gt;&lt;/STRONG&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyId=DA0531E4-E94C-4991-82FA-F0E3FBD05E63&amp;amp;displaylang=en" minmax_bound="true"&gt;&lt;FONT color=#0033cc&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=DA0531E4-E94C-4991-82FA-F0E3FBD05E63&amp;amp;displaylang=en&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1743467" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx">General</category></item><item><title>Wow - over 40 blogs from the SQL Product Team</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2007/02/14/wow-lots-of-blogs-from-the-sql-product-team.aspx</link><pubDate>Wed, 14 Feb 2007 21:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1678074</guid><dc:creator>Paul Randal - MSFT</dc:creator><slash:comments>8</slash:comments><comments>http://blogs.msdn.com/sqlserverstorageengine/comments/1678074.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sqlserverstorageengine/commentrss.aspx?PostID=1678074</wfw:commentRss><description>&lt;P&gt;Seeing the new blog from the doc team inspired me to ping the extended SQL team to see what active blogs there are. Here's the list I've compiled of active (or "I'm working on content right now") blogs run by members of the SQL team - grouped by area and in no particular order. Lots of cool stuff here...&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;General SQL Server&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/bonniefe/" mce_href="http://blogs.msdn.com/bonniefe/"&gt;Samples team&lt;/A&gt; - code samples, mainly for SQL Server 2005&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/mssqlisv/" mce_href="http://blogs.msdn.com/mssqlisv/"&gt;ISV team&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/buckwoody/archive/2007/02/14/sql-server-books-online.aspx" mce_href="http://blogs.msdn.com/buckwoody/archive/2007/02/14/sql-server-books-online.aspx"&gt;UE team&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/sqlservercompact/" mce_href="http://blogs.msdn.com/sqlservercompact/"&gt;Compact Edition team&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/sqlexpress/default.aspx" mce_href="http://blogs.msdn.com/sqlexpress/default.aspx"&gt;SQL Express team&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/sqlperf/" mce_href="http://blogs.msdn.com/sqlperf/"&gt;Performance team&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/sqlcat/default.aspx" mce_href="http://blogs.msdn.com/sqlcat/default.aspx"&gt;Customer Advisory team&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/sqlblog/default.aspx" mce_href="http://blogs.msdn.com/sqlblog/default.aspx"&gt;Support team&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/psssql/" mce_href="http://blogs.msdn.com/psssql/"&gt;Support team&lt;/A&gt; - another PSS blog, mostly Escalation Services&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/sqltips/default.aspx" mce_href="http://blogs.msdn.com/sqltips/default.aspx"&gt;Umachandar Jayachandran&lt;/A&gt; - tips and tricks&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/matt_hollingsworth/default.aspx" mce_href="http://blogs.msdn.com/matt_hollingsworth/default.aspx"&gt;Matt Hollingsworth&lt;/A&gt; - HA&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/euanga/default.aspx" mce_href="http://blogs.msdn.com/euanga/default.aspx"&gt;Euan Garden&lt;/A&gt; - SQL, VS, ...&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;Data Programmability&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/data/" mce_href="http://blogs.msdn.com/data/"&gt;Data Programmability team&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/adonet/default.aspx" mce_href="http://blogs.msdn.com/adonet/default.aspx"&gt;ADO.NET team&lt;/A&gt;&amp;nbsp;- replaced the &lt;A class="" href="http://blogs.msdn.com/dataaccess/default.aspx" mce_href="http://blogs.msdn.com/dataaccess/default.aspx"&gt;Data Access&lt;/A&gt; blog&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/sql_protocols/" mce_href="http://blogs.msdn.com/sql%5Fprotocols/"&gt;SQL Protocols team&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/xmlteam/" mce_href="http://blogs.msdn.com/xmlteam/"&gt;XML team&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/sql_protocols/default.aspx" mce_href="http://blogs.msdn.com/sql_protocols/default.aspx"&gt;Protocols team&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/angelsb/" mce_href="http://blogs.msdn.com/angelsb/"&gt;Angel Saenz-Badillos&lt;/A&gt; - JDBC / Lin&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;Storage Engine&amp;nbsp;&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;This one (obviously... :-)&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/slavao/" mce_href="http://blogs.msdn.com/slavao/"&gt;Slava Oks&lt;/A&gt; - SQLOS / memory management&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://ssinghal.spaces.live.com/blog/?&amp;amp;_c02_owner=1" mce_href="http://ssinghal.spaces.live.com/blog/?&amp;amp;_c02_owner=1"&gt;Saurabh Singhal&lt;/A&gt; - SQLOS&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/lcris/" mce_href="http://blogs.msdn.com/lcris/"&gt;Laurentiu Cristofor&lt;/A&gt; - Security&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/raulga/" mce_href="http://blogs.msdn.com/raulga/"&gt;Raul Garcia&lt;/A&gt; - Security&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;Service Broker&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/rogerwolterblog/default.aspx" mce_href="http://blogs.msdn.com/rogerwolterblog/default.aspx"&gt;Roger Wolter&lt;/A&gt; - SOA, data management&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/rushidesai/" mce_href="http://blogs.msdn.com/rushidesai/"&gt;Rushi Desai&lt;/A&gt; - Service Broker&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/remusrusanu/" mce_href="http://blogs.msdn.com/remusrusanu/"&gt;Remus Rusanu&lt;/A&gt; - Service Broker&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;Relational Engine&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/sqlqueryprocessing/" mce_href="http://blogs.msdn.com/sqlqueryprocessing/"&gt;Query Processor team&lt;/A&gt; (replaces the old &lt;A class="" href="http://blogs.msdn.com/QueryOptTeam/" mce_href="http://blogs.msdn.com/QueryOptTeam/"&gt;Query Optimizer team&lt;/A&gt; blog)&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/sqlprogrammability/default.aspx" mce_href="http://blogs.msdn.com/sqlprogrammability/default.aspx"&gt;Programmability &amp;amp; API Development team&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/sqlclr/default.aspx" mce_href="http://blogs.msdn.com/sqlclr/default.aspx"&gt;CLR Integration team&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/denisruc/" mce_href="http://blogs.msdn.com/denisruc/"&gt;Denis Ruckebusch&lt;/A&gt; - XML datatype&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.technet.com/Lyudmila_Fokina/default.aspx" mce_href="http://blogs.technet.com/Lyudmila_Fokina/default.aspx"&gt;Lyudmila Fokina&lt;/A&gt; - various including index builds (in Russian)&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://sqljunkies.com/weblog/mrys/" mce_href="http://sqljunkies.com/weblog/mrys/"&gt;Michael Rys&lt;/A&gt; - XML, XQuery&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/craigfr/" mce_href="http://blogs.msdn.com/craigfr/"&gt;Craig Freedman&lt;/A&gt; - query processing, execution and plans&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;Analysis Services / Data Mining&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/jamiemac/default.aspx" mce_href="http://blogs.msdn.com/jamiemac/default.aspx"&gt;Jamie MacLennan&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;Reporting Services&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/jgalla/" mce_href="http://blogs.msdn.com/jgalla/"&gt;John Gallardo&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/bobmeyers/" mce_href="http://blogs.msdn.com/bobmeyers/"&gt;Bob Meyers&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/bwelcker/default.aspx" mce_href="http://blogs.msdn.com/bwelcker/default.aspx"&gt;Brian Welcker&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/lukaszp/" mce_href="http://blogs.msdn.com/lukaszp/"&gt;Lukasz Pawlowski&lt;/A&gt; - RS, Notification Services&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;Sync Services / Replication&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/synchronizer/default.aspx" mce_href="http://blogs.msdn.com/synchronizer/default.aspx"&gt;Synchronizer&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;SSIS / DTS&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class="" href="http://ssis.wik.is/" mce_href="http://ssis.wik.is/"&gt;SSIS Wiki&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/mattm/" mce_href="http://blogs.msdn.com/mattm/"&gt;SSIS team&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;Manageability / Tools&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/sqlrem/" mce_href="http://blogs.msdn.com/sqlrem/"&gt;Manageability team&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A class="" href="http://blogs.msdn.com/mwories/" mce_href="http://blogs.msdn.com/mwories/"&gt;Michiel Wories&lt;/A&gt; - SMO / WMI samples&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1678074" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx">General</category></item><item><title>How is Books Online put together?</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2007/02/14/how-is-books-online-put-together.aspx</link><pubDate>Wed, 14 Feb 2007 20:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1677717</guid><dc:creator>Paul Randal - MSFT</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/sqlserverstorageengine/comments/1677717.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sqlserverstorageengine/commentrss.aspx?PostID=1677717</wfw:commentRss><description>One of the Technical Writers in the SQL Product Group, Buck Woody, has started a blog about SQL documentation. His first post is an overview of how Books Online is created. Check it out at &lt;A href="http://blogs.msdn.com/buckwoody/archive/2007/02/14/sql-server-books-online.aspx"&gt;http://blogs.msdn.com/buckwoody/archive/2007/02/14/sql-server-books-online.aspx&lt;/A&gt;.&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1677717" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx">General</category></item><item><title>How to move databases using detach/attach functions?</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2007/02/14/how-to-move-databases-using-detach-attach-functions.aspx</link><pubDate>Wed, 14 Feb 2007 16:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1676384</guid><dc:creator>Paul Randal - MSFT</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/sqlserverstorageengine/comments/1676384.aspx</comments><wfw:commentRss>http://blogs.msdn.com/sqlserverstorageengine/commentrss.aspx?PostID=1676384</wfw:commentRss><description>&lt;P&gt;Quickie post this morning. I was in a review of customer support cases yesterday lunchtime and noticed a trend of cases where people get into trouble moving databases around. There is a good KB article (&lt;A href="http://support.microsoft.com/kb/224071/" mce_href="http://support.microsoft.com/kb/224071/"&gt;http://support.microsoft.com/kb/224071/&lt;/A&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;en-us;224071" mce_href="http://support.microsoft.com/default.aspx?scid=kb;en-us;224071"&gt;&lt;/A&gt;) which explains how to do this for user databases, master, model, tempdb and msdb. It also contains a link to a SQL Server 2005 hotfix for the problem where after detaching a databases that resides on network-attached storage, it can't be reattached.&lt;/P&gt;
&lt;P&gt;Well worth reading to avoid downtime and a support call.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1676384" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/sqlserverstorageengine/archive/tags/General/default.aspx">General</category></item></channel></rss>