– Stop the SQL server service.
– Go to Physical location of the suspected database and rename the database.
– Create new database of the same name to suspected database name.
– Remove the newly created database after this rename suspected database to original suspected database name
– Start the SQL server service.
– Open SQL server Management Studio and find “new Query”
– Click on new query , new command window will be open.(See below the screen)
– Select the master database.
– After that in command window type below the statements
o ALTER DATABASE
o ALTER DATABASE
o DBCC CheckDB (‘
o ALTER DATABASE
Once these commands are successfully processed the database would be available. Note that the DBCC statement above may result in some data loss if any part of the data is corrupt. But if you do not have a SQL backup for you to restore then this is the only option you have…
Posted by: Inogic
For more information/discussions (documents, sample code snippets, detailed work flow or diagrams),
Please be free to visit the following links or email us:
Web: http://www.inogic.com
Blog: http://inogic.blogspot.com
Email: news@inogic.com
—————————————————–