Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
JamesBradle
Starting Member
1 Post |
Posted - 2015-03-28 : 16:18:21
|
Hello experts,Is it possible to try repair a database without being attached, giving the path to the files?I'm trying to attach a database that i recover from a disk, and i'm not able to attach, gives me an error, saying i should do a db check.Thx in advanced |
|
Kristen
Test
22859 Posts |
Posted - 2015-03-29 : 11:02:49
|
Can't think of a way you can do that.Instead of attaching it can you take a full backup and restore that? The Restore will hap[illy restore a corrupted database - i.e. you will get an exact copy of the original. You can then use the Consistency Checking tools to see if it is bust, repair it, etc. (and then backup/restore it over the original, or perform the same steps on the original) |
|
|
GregoryGood
Starting Member
2 Posts |
Posted - 2015-03-30 : 07:29:02
|
quote: Originally posted by JamesBradle Hello experts,Is it possible to try repair a database without being attached, giving the path to the files?I'm trying to attach a database that i recover from a disk, and i'm not able to attach, gives me an error, saying i should do a db check.Thx in advanced
You can try SQL Server Repair Kit. A convenient, reliable and ultimately efficient MS SQL database repair tool for system administrators, developers and database experts. Best in class performance and outstanding usability for users with and without experience.For more: [url]http://www.mssqlserver.repair/[/url] |
|
|
Lincolnburrows
Yak Posting Veteran
52 Posts |
Posted - 2015-07-22 : 01:49:57
|
Must read this article get number of hits: https://msdn.microsoft.com/en-us/library/ms190209.aspx |
|
|
|
|
|
|
|