Hello All,
How can I fix a corrupted database? From what I can see I should run dbcc checkdb on it. However I am very new to MS-SQL. I have gone into Enterprise Manager but I do not see that database. I have tried the attach command but it fails do to an error in which I think is do to the corruption. (It says Error 823:I/O error (bad page ID)detected ...) How do I run this against the database? Do I need to attach to it first? If so how can I attach to it if it is corrupted?
Thanks,
Zych
How can I fix a corrupted database? From what I can see I should run dbcc checkdb on it. However I am very new to MS-SQL. I have gone into Enterprise Manager but I do not see that database. I have tried the attach command but it fails do to an error in which I think is do to the corruption. (It says Error 823:I/O error (bad page ID)detected ...) How do I run this against the database? Do I need to attach to it first? If so how can I attach to it if it is corrupted?
Thanks,
Zych