<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Last Time CheckDB was Run</title>
	<atom:link href="http://jasonbrimhall.info/2013/01/17/last-time-checkdb-was-run/feed/" rel="self" type="application/rss+xml" />
	<link>http://jasonbrimhall.info/2013/01/17/last-time-checkdb-was-run/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=last-time-checkdb-was-run</link>
	<description>1 DBA&#039;s Professional Blog</description>
	<lastBuildDate>Tue, 14 May 2013 18:08:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: A Firm Foundation - SQL Server - SQL Server - Telligent</title>
		<link>http://jasonbrimhall.info/2013/01/17/last-time-checkdb-was-run/comment-page-1/#comment-63883</link>
		<dc:creator>A Firm Foundation - SQL Server - SQL Server - Telligent</dc:creator>
		<pubDate>Thu, 07 Feb 2013 22:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://jasonbrimhall.info/?p=1973#comment-63883</guid>
		<description><![CDATA[[...] So as more of a resolution upon which I have greater resolve than a New Years resolution, I will be retaking the Lab exam.  And I will be getting my MCM in the near future.  Just sayin&#8217;! Related Posts:Fast StartsOn the Eighth Day&#8230;On the Fifth Day&#8230;SQLSat 142 &#8211; WalthamLast Time CheckDB was Run [...]]]></description>
		<content:encoded><![CDATA[<p>[...] So as more of a resolution upon which I have greater resolve than a New Years resolution, I will be retaking the Lab exam.  And I will be getting my MCM in the near future.  Just sayin&#8217;! Related Posts:Fast StartsOn the Eighth Day&#8230;On the Fifth Day&#8230;SQLSat 142 &#8211; WalthamLast Time CheckDB was Run [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Audit Configuration Changes - SQL Server - SQL Server - Telligent</title>
		<link>http://jasonbrimhall.info/2013/01/17/last-time-checkdb-was-run/comment-page-1/#comment-63882</link>
		<dc:creator>Audit Configuration Changes - SQL Server - SQL Server - Telligent</dc:creator>
		<pubDate>Thu, 07 Feb 2013 22:20:22 +0000</pubDate>
		<guid isPermaLink="false">http://jasonbrimhall.info/?p=1973#comment-63882</guid>
		<description><![CDATA[[...] as well. Related Posts:IP and Default Trace&#8230;T-SQL Tuesday #005TSQL Challenge 63 &#8211; UpdateLast Time CheckDB was RunLast Known Good CheckDBPhysical Row [...]]]></description>
		<content:encoded><![CDATA[<p>[...] as well. Related Posts:IP and Default Trace&#8230;T-SQL Tuesday #005TSQL Challenge 63 &#8211; UpdateLast Time CheckDB was RunLast Known Good CheckDBPhysical Row [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Brimhall</title>
		<link>http://jasonbrimhall.info/2013/01/17/last-time-checkdb-was-run/comment-page-1/#comment-63660</link>
		<dc:creator>Jason Brimhall</dc:creator>
		<pubDate>Tue, 22 Jan 2013 23:28:21 +0000</pubDate>
		<guid isPermaLink="false">http://jasonbrimhall.info/?p=1973#comment-63660</guid>
		<description><![CDATA[That&#039;s pretty cool.]]></description>
		<content:encoded><![CDATA[<p>That&#8217;s pretty cool.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Brimhall</title>
		<link>http://jasonbrimhall.info/2013/01/17/last-time-checkdb-was-run/comment-page-1/#comment-63658</link>
		<dc:creator>Jason Brimhall</dc:creator>
		<pubDate>Tue, 22 Jan 2013 23:26:36 +0000</pubDate>
		<guid isPermaLink="false">http://jasonbrimhall.info/?p=1973#comment-63658</guid>
		<description><![CDATA[Yeah.  I was seeing that bug.  I had to back all the way out and examine the DBCC Page results to confirm on a single database to make sure it wasn&#039;t something I had done.  But the rownum was an easy enough fix.]]></description>
		<content:encoded><![CDATA[<p>Yeah.  I was seeing that bug.  I had to back all the way out and examine the DBCC Page results to confirm on a single database to make sure it wasn&#8217;t something I had done.  But the rownum was an easy enough fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaun</title>
		<link>http://jasonbrimhall.info/2013/01/17/last-time-checkdb-was-run/comment-page-1/#comment-63651</link>
		<dc:creator>Shaun</dc:creator>
		<pubDate>Tue, 22 Jan 2013 16:26:01 +0000</pubDate>
		<guid isPermaLink="false">http://jasonbrimhall.info/?p=1973#comment-63651</guid>
		<description><![CDATA[Correction..Looks like the bug still happens with DBCC Page (I tested on a 2005 server by mistake), but I see that&#039;s why you select WHERE RowNum = 1...]]></description>
		<content:encoded><![CDATA[<p>Correction..Looks like the bug still happens with DBCC Page (I tested on a 2005 server by mistake), but I see that&#8217;s why you select WHERE RowNum = 1&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaun</title>
		<link>http://jasonbrimhall.info/2013/01/17/last-time-checkdb-was-run/comment-page-1/#comment-63650</link>
		<dc:creator>Shaun</dc:creator>
		<pubDate>Tue, 22 Jan 2013 16:11:26 +0000</pubDate>
		<guid isPermaLink="false">http://jasonbrimhall.info/?p=1973#comment-63650</guid>
		<description><![CDATA[I actually wrote similar code and it got added to Brent Ozar&#039;s sp_blitz procedure. Someone found a bug - not in my code, but in the output of DBCC DBInfo, which returns a row for dbi_dbccLastKnownGood twice in SQL 2008+. Looks like your version using DBCC Page doesn&#039;t suffer from this problem. Nice.]]></description>
		<content:encoded><![CDATA[<p>I actually wrote similar code and it got added to Brent Ozar&#8217;s sp_blitz procedure. Someone found a bug &#8211; not in my code, but in the output of DBCC DBInfo, which returns a row for dbi_dbccLastKnownGood twice in SQL 2008+. Looks like your version using DBCC Page doesn&#8217;t suffer from this problem. Nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Brimhall</title>
		<link>http://jasonbrimhall.info/2013/01/17/last-time-checkdb-was-run/comment-page-1/#comment-63402</link>
		<dc:creator>Jason Brimhall</dc:creator>
		<pubDate>Thu, 17 Jan 2013 17:39:59 +0000</pubDate>
		<guid isPermaLink="false">http://jasonbrimhall.info/?p=1973#comment-63402</guid>
		<description><![CDATA[I waffled on filtering out offline databases or not.  I&#039;ll add it in.  I was excluding tempdb only because each time the instance is restarted, boot page is restored and the dbi_dbccLastKnownGood is restored back to 1/1/1900.
But I agree that tempdb can be corrupt and if the server hasn&#039;t been restarted for a while then we need to know the last time checkdb was run against tempdb.  I&#039;ll change that filter.]]></description>
		<content:encoded><![CDATA[<p>I waffled on filtering out offline databases or not.  I&#8217;ll add it in.  I was excluding tempdb only because each time the instance is restarted, boot page is restored and the dbi_dbccLastKnownGood is restored back to 1/1/1900.<br />
But I agree that tempdb can be corrupt and if the server hasn&#8217;t been restarted for a while then we need to know the last time checkdb was run against tempdb.  I&#8217;ll change that filter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert L Davis</title>
		<link>http://jasonbrimhall.info/2013/01/17/last-time-checkdb-was-run/comment-page-1/#comment-63401</link>
		<dc:creator>Robert L Davis</dc:creator>
		<pubDate>Thu, 17 Jan 2013 16:36:55 +0000</pubDate>
		<guid isPermaLink="false">http://jasonbrimhall.info/?p=1973#comment-63401</guid>
		<description><![CDATA[Great script. I&#039;ve been meaning to rewrite mine as it uses sp_msforeachdb which has problems.

Just curious, why do you filter out tempdb? Tempdb can get corrupted too.

One suggestion, it fails if there is a database offline (mirror, log shipping secondary, etc). Recommend adding &quot;state = 0&quot; to the query of sys.databases.]]></description>
		<content:encoded><![CDATA[<p>Great script. I&#8217;ve been meaning to rewrite mine as it uses sp_msforeachdb which has problems.</p>
<p>Just curious, why do you filter out tempdb? Tempdb can get corrupted too.</p>
<p>One suggestion, it fails if there is a database offline (mirror, log shipping secondary, etc). Recommend adding &#8220;state = 0&#8243; to the query of sys.databases.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
