Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2005 > SQL Server 2005
|
SQL Server 2005 General discussion of SQL Server *2005* version only.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 6th, 2006, 05:20 AM
Registered User
 
Join Date: Sep 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to dex_bg
Default SQL 2005 Express database mark as 'SUSPECT'

hi to all.
I have a question about SQL 2005 Expres edition.
Waht makes SQL to mark some of databases as SUSPECT ?
Before few weeks i had that kind of problem but i fixed
by seting database in EMERGENCY mode and with DTSWizard i transfer
the Tables in new database, but i want to know what is the reason this database to be mark as SUSPECTET ?
I'will be very grateful if somebody can explain to me why
SQL 2005 Express is doing this.

 
Old September 12th, 2006, 09:34 AM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Suspect means that "At least the primary may be damaged. The database cannot be recovered during the startup of SQL Server. The database is unavailable."

 
Old September 13th, 2006, 03:13 AM
Registered User
 
Join Date: Sep 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to dex_bg
Default

Thank's but i already know that.
I was wondering how is that possibl the databasse is working correctly you are shuting down computer at the end of you working time and when in the morning you turn on yor computer and run SQL your databesse is mark as SUSPECT ????????????????????

 
Old September 14th, 2006, 12:48 PM
SQLScott's Avatar
Wrox Author
 
Join Date: Dec 2004
Posts: 338
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I have seen a database as suspect is for two reasons. The first is that the database is corrupt, and the corruption can be for any reason. Try running DBCC CHECKDB and see what comes back. This will check the logical and physical integrity of all the objects in the specified database.

The second reason it might be corrupt is that the drive the database on is bad (corrupt sectors, blocks, etc). There are tools and utilities available to determine the state of your drive.

I hope this helps...



 
Old September 19th, 2006, 04:07 AM
Registered User
 
Join Date: Sep 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to dex_bg
Default

Thanks SQLScott i will run the DBCC CHECKDB with your last replay i can say PROBLEM SOLVE. :D


Again 10x SQLScott.






Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting to a sql 2005 express database twisted f8 Visual Basic 2005 Basics 1 September 13th, 2007 09:49 PM
MSDE or SQL 2005 EXPRESS? angelboy C# 2005 2 June 19th, 2007 12:10 AM
SQL 2005 Express Edition Maxxim SQL Language 2 February 5th, 2007 05:19 PM
SQL Express 2005 Tremmorkeep BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 July 20th, 2006 04:38 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.