<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>DBCC on Anthony Nocentino&#39;s Blog</title>
    <link>https://www.nocentino.com/tags/dbcc/</link>
    <description>Recent content in DBCC on Anthony Nocentino&#39;s Blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 18 Apr 2026 00:00:00 -0500</lastBuildDate>
    <atom:link href="https://www.nocentino.com/tags/dbcc/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Reading SQL Server File Headers with DBCC FILEHEADER</title>
      <link>https://www.nocentino.com/posts/2026-04-18-reading-sql-server-file-headers-with-dbcc-fileheader/</link>
      <pubDate>Sat, 18 Apr 2026 00:00:00 -0500</pubDate>
      <guid>https://www.nocentino.com/posts/2026-04-18-reading-sql-server-file-headers-with-dbcc-fileheader/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve been doing a deep dive into SQL Server on-disk structures lately, and one of my favorite rabbit holes is revisiting &lt;a href=&#34;https://www.sqlskills.com/blogs/paul/search-engine-qa-21-file-header-pages-and-file-header-corruption/&#34; target=&#34;_blank&#34; rel=&#34;noopener external&#34;&gt;Paul Randal&amp;rsquo;s series on file header pages&lt;/a&gt;. If you haven&amp;rsquo;t read it, go do that now. It covers what file header pages are, what they contain, and what happens when they corrupt. This post takes that concept and runs with it. I&amp;rsquo;ll use &lt;code&gt;DBCC FILEHEADER&lt;/code&gt; to read the file header of every user database file on a server and answer a question that comes up more than you&amp;rsquo;d think: &lt;em&gt;&lt;strong&gt;can you determine which files belong together as a database purely from the file header, without querying &lt;code&gt;sys.databases&lt;/code&gt;?&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
