SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


How to Repair Damaged SQL Server 2012 Database?


How to Repair Damaged SQL Server 2012 Database?

Author
Message
tapanikobler
tapanikobler
SSC Journeyman
SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)SSC Journeyman (79 reputation)

Group: General Forum Members
Points: 79 Visits: 1
Something happened with my sql database.

Due to an unexpected reason sql server database has become corrupted. But don't know how to do fix this.

Please someone provide me any solution.
pietlinden
pietlinden
SSC-Forever
SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)SSC-Forever (43K reputation)

Group: General Forum Members
Points: 43849 Visits: 16090
not near enough information to help. How old is your latest backup? Do you have your transaction logs somewhere? what recovery model are you using?
e4d4
e4d4
Hall of Fame
Hall of Fame (3.8K reputation)Hall of Fame (3.8K reputation)Hall of Fame (3.8K reputation)Hall of Fame (3.8K reputation)Hall of Fame (3.8K reputation)Hall of Fame (3.8K reputation)Hall of Fame (3.8K reputation)Hall of Fame (3.8K reputation)

Group: General Forum Members
Points: 3837 Visits: 2704
What is exact error message in error log?
Grant Fritchey
Grant Fritchey
SSC Guru
SSC Guru (304K reputation)SSC Guru (304K reputation)SSC Guru (304K reputation)SSC Guru (304K reputation)SSC Guru (304K reputation)SSC Guru (304K reputation)SSC Guru (304K reputation)SSC Guru (304K reputation)

Group: General Forum Members
Points: 304843 Visits: 33923
Run DBCC CHECKDB.

The output will tell you what is corrupted. If you're lucky, it's a nonclustered index. You can drop it and recreate it and walk away a winner. If it's any other type of data storage, you'll need to go to your last good backup.

----------------------------------------------------
The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood...
Theodore Roosevelt

The Scary DBA
Author of: SQL Server Query Performance Tuning and SQL Server Execution Plans
Product Evangelist for Red Gate Software
Eirikur Eiriksson
Eirikur Eiriksson
SSC Guru
SSC Guru (129K reputation)SSC Guru (129K reputation)SSC Guru (129K reputation)SSC Guru (129K reputation)SSC Guru (129K reputation)SSC Guru (129K reputation)SSC Guru (129K reputation)SSC Guru (129K reputation)

Group: General Forum Members
Points: 129439 Visits: 21810
Further on Grant's, post the full and unedited output of "DBCC CHECKDB(‘DatabaseName’) WITH NO_INFOMSGS, ALL_ERRORMSGS"
Cool
prettsons
prettsons
SSCertifiable
SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)

Group: General Forum Members
Points: 5896 Visits: 1508
Please answer the above question!!

SQL Database Recovery Expert :-)
ewoudpauwels
ewoudpauwels
SSC-Enthusiastic
SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)SSC-Enthusiastic (107 reputation)

Group: General Forum Members
Points: 107 Visits: 0
tapanikobler (2/21/2015)
Something happened with my sql database.

Due to an unexpected reason sql server database has become corrupted. But don't know how to do fix this.

Please someone provide me any solution.


As a proper variant, visit: http://www.filerepairforum.com/forum/microsoft/microsoft-aa/sql-server/1413-sql-database-in-suspect-mode

OR

One more solution is using third-party tools, SQL Server Repair Toolbox is one of the best solution.

I can recommend it you but check it by running its demo version- http://www.sqlserver.repairtoolbox.com/
Eirikur Eiriksson
Eirikur Eiriksson
SSC Guru
SSC Guru (129K reputation)SSC Guru (129K reputation)SSC Guru (129K reputation)SSC Guru (129K reputation)SSC Guru (129K reputation)SSC Guru (129K reputation)SSC Guru (129K reputation)SSC Guru (129K reputation)

Group: General Forum Members
Points: 129439 Visits: 21810
rodickwillision (8/31/2016)
To repair corrupt or damaged SQL server database, download an excellent tool Kernel for SQL Database Recovery Tool. The tool also recovers all tables, stored procedure, functions, views, rules, triggers and associated Primary Key, Unique keys and etc. It supports all versions of MS SQL server like 2014, 2012, 2008 R2, 2008, 2005 & 2000 and all updated Windows OS versions. Visit here - http://www.sql.mdfrepair.net


It is very irresponsible to suggest any tools for a job when the actual problem is unknown, strongly advise anyone reading this thread to approach such quick fix solutions as suggested here with the utter most caution.
Cool
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search