A DBCC PAGE Example with Output

This post will demonstrate how to run the undocumented DBCC PAGE command to view the properties of a page. First we execute the DBCC TRACEON (3604) command to redirect the output to the SSMS console. Then we call the DBCC PAGE command itself to view the page. Notice the last parameter (0). ‘0’ outputs the least amount of information. The other values are 1,2, & 3. Be careful running 1 or 2 as it has a lot of output, including the binary data on the disk. 🙂

Lets run the first command to redirect the output to the console:

…now lets get the page data itself:

and the console output displays this:

PAGE: (1:200)

Views – 2286

Leave a Reply