Answer by Magnus Ahlkvist
Run a DBCC CHECKDB and see if there are inconsistencies and/or other errors in the database.
View ArticleAnswer by Amardeep
I agree with Margnus, for check corruption you can also run DBCC CHECKTABLE for table on which you are trying to rebuild index also you can try to drop and recreate index.
View ArticleAnswer by Håkan Winther
I agree with Magnus, run DBCC CHECKDB. You can also try to use CREATE INDEX and specify the option DROP_EXISTING=ON if it's not the clustered index. If you have corruption in a regular index (not the...
View ArticleAnswer by Magnus Ahlkvist
Run a DBCC CHECKDB and see if there are inconsistencies and/or other errors in the database.
View ArticleAnswer by Amardeep
I agree with Margnus, for check corruption you can also run DBCC CHECKTABLE for table on which you are trying to rebuild index also you can try to drop and recreate index.
View ArticleAnswer by Håkan Winther
I agree with Magnus, run DBCC CHECKDB. You can also try to use CREATE INDEX and specify the option DROP_EXISTING=ON if it's not the clustered index. If you have corruption in a regular index (not the...
View Article