|   | ![]() |
|
I have a corrupt SQL Server
table that I can't drop. What can I do? DBCC checkdb and newalloc the database in question and look up any other error messages that occur - then you can see the extent of the problem. The reason SQL won't let you drop a table in this situation is because the allocation pages/extent chain appears to be damaged or cross-linked in some way. So SQL Server thinks that there is actually data from other tables in pages/extents belonging to the problem object. If it lets you drop the table it might remove data from another table by mistake. Your choices are :-
|
All content on this site, except where noted, represents an original work of Michael R. Hotek and is protected by applicable copyright laws. The SQL Server FAQ is the sole work of Neil Pike. No page, portion of a page, or download may be used for commercial purposes in whole or in part without the express, written permission of the applicable author.