Quantcast
Channel: SQL.ru: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 7251

Ошибки в базе (SQL 2000)

$
0
0
Добрый день!
Помогите "вылечить" базу SQL 2000

При проверке таблицы в базе вываливаются ошибки!

автор
use krk_v8
DBCC CHECKTABLE ('_Document89_VT1478');
GO

Server: Msg 8935, Level 16, State 1, Line 2
Table error: Object ID 1969442090, index ID 1. The previous link (1:7422460) on page (1:7696697) does not match the previous page (1:6166698) that the parent (1:7513588), slot 120 expects for this page.
Server: Msg 8935, Level 16, State 1, Line 2
Table error: Object ID 1969442090, index ID 1. The previous link (1:7905956) on page (1:7696698) does not match the previous page (1:7422460) that the parent (1:7513588), slot 118 expects for this page.
Server: Msg 8978, Level 16, State 1, Line 2
Table error: Object ID 1969442090, index ID 1. Page (1:7696698) is missing a reference from previous page (1:7905956). Possible chain linkage problem.
DBCC results for '_Document89_VT1478'.
There are 38506041 rows in 548038 pages for object '_Document89_VT1478'.
CHECKTABLE found 0 allocation errors and 3 consistency errors in table '_Document89_VT1478' (object ID 1969442090).
repair_rebuild is the minimum repair level for the errors found by DBCC CHECKTABLE (krk_v8.dbo._Document89_VT1478 ).


автор
CREATE UNIQUE CLUSTERED
INDEX [_Document89_VT1478_IntKeyInd] ON [dbo].[_Document89_VT1478] ([_Document89_IDRRef], [_KeyField])
WITH
DROP_EXISTING
ON [PRIMARY]

Server: Msg 1505, Level 16, State 1, Line 1
CREATE UNIQUE INDEX terminated because a duplicate key was found for index ID 1. Most significant primary key is 'type ad, len 16'.
The statement has been terminated.


автор
DBCC CHECKDB ('krk_v8', REPAIR_FAST)

Ошибки не исправляет.

DBCC CHECKDB ('krk_v8', REPAIR_REBUILD)

Ошибки не исправляет.

--DBCC CHECKDB ('krk_v8',repair_allow_data_loss);

Ошибки не исправляет.


Подскажите, что можно предпринять для исправления таблицы?

Модератор: Тема перенесена из форума "MySQL".

Viewing all articles
Browse latest Browse all 7251

Trending Articles