﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Administering / SQL Server 2005  / Sysdatabases Status / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 05:26:09 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Sysdatabases Status</title><link>http://www.sqlservercentral.com/Forums/Topic632939-146-1.aspx</link><description>I use the bitwise and operator (&amp;) to pull the status column apart for inspection.For example:[code="sql"]SELECT     nameFROM         master..sysdatabasesWHERE     name NOT IN ('tempdb')AND     status &amp; 512 &amp;lt;&amp;gt; 512[/code]512 means the database is offline. This query returns a list of database names where the database is online.</description><pubDate>Mon, 20 Aug 2012 00:44:40 GMT</pubDate><dc:creator>Mark Harrison-282986</dc:creator></item><item><title>RE: Sysdatabases Status</title><link>http://www.sqlservercentral.com/Forums/Topic632939-146-1.aspx</link><description>It goes like this..4194320 = 4194304 + 164194304 = autoshrink16 = torn page detection4194328 = 4194304 + 16 + 84194304 = autoshrink16 = torn page detection8 = trunc. log on chkpt</description><pubDate>Fri, 09 Jan 2009 00:13:17 GMT</pubDate><dc:creator>Arun Jebakumar</dc:creator></item><item><title>RE: Sysdatabases Status</title><link>http://www.sqlservercentral.com/Forums/Topic632939-146-1.aspx</link><description>In BOL; I do not found status value like 4194320, 4194328.What is the status of the database?</description><pubDate>Thu, 08 Jan 2009 23:43:27 GMT</pubDate><dc:creator>free_mascot</dc:creator></item><item><title>RE: Sysdatabases Status</title><link>http://www.sqlservercentral.com/Forums/Topic632939-146-1.aspx</link><description>see the thread here:[b][url=http://www.sqlservercentral.com/Forums/Topic326235-5-2.aspx]http://www.sqlservercentral.com/Forums/Topic326235-5-2.aspx[/url][/b]it's got a complete explanation  on the flags., as well as a code snippet to plug in your status and get the results.</description><pubDate>Thu, 08 Jan 2009 17:04:42 GMT</pubDate><dc:creator>Lowell</dc:creator></item><item><title>RE: Sysdatabases Status</title><link>http://www.sqlservercentral.com/Forums/Topic632939-146-1.aspx</link><description>The BOL article on sysdatabases.</description><pubDate>Thu, 08 Jan 2009 16:14:54 GMT</pubDate><dc:creator>RBarryYoung</dc:creator></item><item><title>Sysdatabases Status</title><link>http://www.sqlservercentral.com/Forums/Topic632939-146-1.aspx</link><description>HI,I have 2 databases with the following status in sysdatabases (4194320, 4194328).  Where I can find the definition of these status?Thanks,</description><pubDate>Thu, 08 Jan 2009 15:39:58 GMT</pubDate><dc:creator>Rem70Rem</dc:creator></item></channel></rss>