Share via

MSSQL base errors

Vyacheslav 0 Reputation points
2025-03-28T11:11:05.22+00:00

Use MSSQL 2008. Need to restore this base on a more recent version MSSQL 2012-2022. When I try to restore this database from a save, errors appear in the new version and the restore is interrupted. Checking the database by the command in MSSQL 2008 'DBCC CHECKDB ('AbsoDbUnicode') WITH NO_INFOMSGS, ALL_ERRORMSGS;' revealed the following errors: "Сообщение 8992, уровень 16, состояние 1, строка 1

Проверьте сообщение каталога 3853, состояние 1: Атрибут (object_id=1690552831) строки (object_id=1690552831,index_id=1) в sys.indexes не имеет совпадающей строки (object_id=1690552831) в sys.objects.

Сообщение 8992, уровень 16, состояние 1, строка 1

Проверьте сообщение каталога 3855, состояние 1: Атрибут (data_space_id=2) существует без строки (object_id=1690552831,index_id=1) в sys.indexes.

CHECKDB обнаружил 0 ошибок размещения и 4 ошибок согласованности, не связанных ни с одним объектом.

Сообщение 8951, уровень 16, состояние 1, строка 1

Ошибка в таблице: таблица "USAGER" (идентификатор 396684611). Для строки данных отсутствует совпадающая строка в индексе "uqc_codbarU" (идентификатор 36). Возможно, ключи для сопоставления строк индекса отсутствуют или недопустимы:

Сообщение 8955, уровень 16, состояние 1, строка 1

Строка данных (1:352844:5), определенная (IdUsager = 108080) со значениями индекса "CodbarU = '012540' and IdUsager = 108080".

CHECKDB обнаружил 0 ошибок размещения и 1 ошибок согласованности в таблице "USAGER" (идентификатор объекта 396684611).

CHECKDB обнаружил 0 ошибок размещения и 5 ошибок согласованности в базе данных "AbsoDbUnicode" When executing the following commands, it did not bring any result. Mistakes remained. These errors prevent you from restoring this database to newer versions MSSQL 2012-2022 What should I do? How to delete a "broken" index (an entry in sys.indexes refers to a non-existent object in sys.objects)?

SQL Server Database Engine
0 comments No comments

1 answer

Sort by: Most helpful
  1. Olaf Helper 47,621 Reputation points
    2025-03-31T07:14:33.5566667+00:00

    Use MSSQL 2008. Need to restore this base on a more recent version MSSQL 2012-2022.

    You can not restore backups a newer SQL Server version to an older one, that's impossible; (backup) SQL Server filse are not backward compatible.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.