<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SQL 7 DB in suspect state in BackOffice Products</title>
    <link>https://community.hpe.com/t5/backoffice-products/sql-7-db-in-suspect-state/m-p/3700811#M2563</link>
    <description>I know now why you mentioned backup.&lt;BR /&gt;&lt;BR /&gt;I got this result after tunning the sp_resetstatus:&lt;BR /&gt;&lt;BR /&gt;Result:&lt;BR /&gt;Prior to updating sysdatabases entry for database 'SUMMARYDB', mode = 0 and status = 264 (status suspect_bit = 256).&lt;BR /&gt;For row in sysdatabases for database 'SUMMARYDB', the status bit 256 was forced off and mode was forced to 0.&lt;BR /&gt;Warning: You must recover this database prior to access.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'll see if we have a recent backup.&lt;BR /&gt;&lt;BR /&gt;regards.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 03 Jan 2006 04:53:14 GMT</pubDate>
    <dc:creator>Edgar Zapata</dc:creator>
    <dc:date>2006-01-03T04:53:14Z</dc:date>
    <item>
      <title>SQL 7 DB in suspect state</title>
      <link>https://community.hpe.com/t5/backoffice-products/sql-7-db-in-suspect-state/m-p/3700807#M2559</link>
      <description>We have a Microsoft SQL Server  7.00 - 7.00.699 (Intel X86) &lt;BR /&gt;One of its Databases is in (suspect9 state.&lt;BR /&gt;How can I get it back to life?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;regards.</description>
      <pubDate>Mon, 02 Jan 2006 07:59:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/sql-7-db-in-suspect-state/m-p/3700807#M2559</guid>
      <dc:creator>Edgar Zapata</dc:creator>
      <dc:date>2006-01-02T07:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: SQL 7 DB in suspect state</title>
      <link>https://community.hpe.com/t5/backoffice-products/sql-7-db-in-suspect-state/m-p/3700808#M2560</link>
      <description>Edgar,&lt;BR /&gt;SQL7, antique...&lt;BR /&gt;You need to find  cause of the problem, check sql logs and event viewer for any errors/warning.&lt;BR /&gt;You can reset the suspect status using "sp_resetstatus". &lt;BR /&gt;Syntax: sp_resetstatus database_name &lt;BR /&gt;Restart server after running sp_resetstatus.&lt;BR /&gt;Run DBCC Checkdb to check DB.&lt;BR /&gt;(you can also use DBCC CheckCatalog and&lt;BR /&gt;DBCC Checkalloc to identify the bad page in the database)&lt;BR /&gt;Regards, Igor&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Jan 2006 09:25:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/sql-7-db-in-suspect-state/m-p/3700808#M2560</guid>
      <dc:creator>Igor Karasik</dc:creator>
      <dc:date>2006-01-02T09:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: SQL 7 DB in suspect state</title>
      <link>https://community.hpe.com/t5/backoffice-products/sql-7-db-in-suspect-state/m-p/3700809#M2561</link>
      <description>Igor,&lt;BR /&gt;What are the potential risks that may cause the execution of the sp_resetstatus?&lt;BR /&gt;Any ideas?&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;I just want to make sure before I run it.&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Mon, 02 Jan 2006 09:47:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/sql-7-db-in-suspect-state/m-p/3700809#M2561</guid>
      <dc:creator>Edgar Zapata</dc:creator>
      <dc:date>2006-01-02T09:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: SQL 7 DB in suspect state</title>
      <link>https://community.hpe.com/t5/backoffice-products/sql-7-db-in-suspect-state/m-p/3700810#M2562</link>
      <description>Edgar, IMHO there are no risk when you run &lt;BR /&gt;sp_resetstatus, anyway you DB in suspect status now.&lt;BR /&gt;Do you have recent DB backup?</description>
      <pubDate>Mon, 02 Jan 2006 10:57:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/sql-7-db-in-suspect-state/m-p/3700810#M2562</guid>
      <dc:creator>Igor Karasik</dc:creator>
      <dc:date>2006-01-02T10:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: SQL 7 DB in suspect state</title>
      <link>https://community.hpe.com/t5/backoffice-products/sql-7-db-in-suspect-state/m-p/3700811#M2563</link>
      <description>I know now why you mentioned backup.&lt;BR /&gt;&lt;BR /&gt;I got this result after tunning the sp_resetstatus:&lt;BR /&gt;&lt;BR /&gt;Result:&lt;BR /&gt;Prior to updating sysdatabases entry for database 'SUMMARYDB', mode = 0 and status = 264 (status suspect_bit = 256).&lt;BR /&gt;For row in sysdatabases for database 'SUMMARYDB', the status bit 256 was forced off and mode was forced to 0.&lt;BR /&gt;Warning: You must recover this database prior to access.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'll see if we have a recent backup.&lt;BR /&gt;&lt;BR /&gt;regards.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jan 2006 04:53:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/sql-7-db-in-suspect-state/m-p/3700811#M2563</guid>
      <dc:creator>Edgar Zapata</dc:creator>
      <dc:date>2006-01-03T04:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: SQL 7 DB in suspect state</title>
      <link>https://community.hpe.com/t5/backoffice-products/sql-7-db-in-suspect-state/m-p/3700812#M2564</link>
      <description>Edgar, did you restart MSSQL server after sp_resetstatus?&lt;BR /&gt;&lt;BR /&gt;Even if it doesn't work you can try following:&lt;BR /&gt;-Set the database property 'allow updates': &lt;BR /&gt;exec sp_configure 'allow updates', 1 RECONFIGURE WITH OVERRIDE &lt;BR /&gt;-Set the database to 'Emergency Mode': &lt;BR /&gt;UPDATE master..sysdatabases SET status=-32768 WHERE name='MyDBName' &lt;BR /&gt;-Rebuild the database log file: &lt;BR /&gt;dbcc rebuild_log ('myDBName','path to my log.LDF') &lt;BR /&gt;Warning: you will lost Transactional consistency after this operation&lt;BR /&gt;-Run DBCC CHECKDB &lt;BR /&gt;-Now you can execute sql statement vs your database and you can use DTS Wizard to export tables to another database. &lt;BR /&gt;And it always good to have recent DB backup.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Jan 2006 08:18:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/sql-7-db-in-suspect-state/m-p/3700812#M2564</guid>
      <dc:creator>Igor Karasik</dc:creator>
      <dc:date>2006-01-03T08:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: SQL 7 DB in suspect state</title>
      <link>https://community.hpe.com/t5/backoffice-products/sql-7-db-in-suspect-state/m-p/3700813#M2565</link>
      <description>We did not have a good DB backup.&lt;BR /&gt;We finally had to create a new DB from scratch.&lt;BR /&gt;Tnks.</description>
      <pubDate>Wed, 15 Mar 2006 03:21:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/backoffice-products/sql-7-db-in-suspect-state/m-p/3700813#M2565</guid>
      <dc:creator>Edgar Zapata</dc:creator>
      <dc:date>2006-03-15T03:21:47Z</dc:date>
    </item>
  </channel>
</rss>

