<?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>Poking about with DBCC PAGE (Part 1 of ?)</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2006/08/09/692806.aspx</link><description>(It's been a while since I last posted - summer fun's been in the way obviously and I've been busy picking up some new and exciting (for me) SQL skills, partially to help with four upcoming TechEds I'll be doing in China and Hong Kong. The posting frequency</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Poking about with DBCC PAGE (Part 1 of ?)</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2006/08/09/692806.aspx#701293</link><pubDate>Tue, 15 Aug 2006 19:45:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:701293</guid><dc:creator>kirchner</dc:creator><description>Paul&lt;br&gt;&lt;br&gt;Can you clarify a thing? Two things actually.&lt;br&gt;&lt;br&gt;You said:&lt;br&gt;&amp;quot;this is different and simpler than SQL Server 2000 which had one bit per nullable column only&amp;quot;&lt;br&gt;&lt;br&gt;I find that SQL 2000 will store the null bitmap even though all columns are not null. And acording to Kalen Delaney, in her internals book, it's this way, null bitmap is always stored.&lt;br&gt;&lt;br&gt;I created a table with 9 tinyint not null columns, and inserted:&lt;br&gt;insert example2 values (1, 2, 3, 4, 5, 6, 7, 8, 9)&lt;br&gt;&lt;br&gt;DBCC PAGE(tempdb, 1, 4051, 1):&lt;br&gt;&lt;br&gt;Record Type = PRIMARY_RECORD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br&gt;Record Attributes = &amp;nbsp;NULL_BITMAP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br&gt;1EBBA060: &amp;nbsp;000d0010 &amp;nbsp;04030201 &amp;nbsp;08070605 &amp;nbsp;00000909 ................&lt;br&gt;1EBBA070: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00 &amp;nbsp;&lt;br&gt;&lt;br&gt;I believe the first 00 in 00000909, and the 00 in the next line are the null bitmap, for 9 columns, 2 bytes. And no variable length columns here.&lt;br&gt;&lt;br&gt;Is this right?&lt;br&gt;&lt;br&gt;The second question is based on the analys to the first one, it appears that SQL 2000 will show each four bytes reversed.&lt;br&gt;Is DBCC PAGE showing the bytes in a different order on SQL 2000 and SQL 2005, or is the physical record stored different in these versions?&lt;br&gt;&lt;br&gt;&lt;br&gt;Thnaks,&lt;br&gt;&lt;br&gt;&lt;br&gt;Marcos</description></item><item><title>re: Poking about with DBCC PAGE (Part 1 of ?)</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2006/08/09/692806.aspx#733665</link><pubDate>Thu, 31 Aug 2006 19:09:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:733665</guid><dc:creator>Paul Randal - MSFT</dc:creator><description>Yup - my mistake - there's always a bit per column in both versions.</description></item><item><title>re: Poking about with DBCC PAGE (Part 1 of ?)</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2006/08/09/692806.aspx#735649</link><pubDate>Fri, 01 Sep 2006 21:24:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:735649</guid><dc:creator>Paul Randal - MSFT</dc:creator><description>btw, yes - I changed the ordering the DBCC PAGE dumps the bytes between SQL Server 2000 and 2005 - its was doing it backwards in 2000.</description></item><item><title> SQL Server Storage Engine Poking about with DBCC PAGE Part 1 of | storage bench</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2006/08/09/692806.aspx#9749424</link><pubDate>Sun, 14 Jun 2009 13:03:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9749424</guid><dc:creator> SQL Server Storage Engine Poking about with DBCC PAGE Part 1 of | storage bench</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://thestoragebench.info/story.php?id=5447"&gt;http://thestoragebench.info/story.php?id=5447&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> SQL Server Storage Engine Poking about with DBCC PAGE Part 1 of | fix my credit</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2006/08/09/692806.aspx#9764080</link><pubDate>Wed, 17 Jun 2009 04:47:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9764080</guid><dc:creator> SQL Server Storage Engine Poking about with DBCC PAGE Part 1 of | fix my credit</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://fixmycrediteasily.info/story.php?id=9865"&gt;http://fixmycrediteasily.info/story.php?id=9865&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> SQL Server Storage Engine Poking about with DBCC PAGE Part 1 of | pool toys</title><link>http://blogs.msdn.com/sqlserverstorageengine/archive/2006/08/09/692806.aspx#9774682</link><pubDate>Thu, 18 Jun 2009 11:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9774682</guid><dc:creator> SQL Server Storage Engine Poking about with DBCC PAGE Part 1 of | pool toys</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://pooltoysite.info/story.php?id=9148"&gt;http://pooltoysite.info/story.php?id=9148&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>