2016-10-19 2 views
0

SQL Server 2012 데이터베이스 파일을 열 수 없습니다. 다음 오류가 발생합니다. SQL Server에서 MDF 파일을 열 수 없습니다.

Msg 824, Level 24, State 2, Line 1
SQL Server detected a logical consistency-based I/O error: incorrect pageid (expected 1:903; actual 0:0). It occurred during a read of page (1:903) in database ID 6 at offset 0x0000000070e000 in file 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\inventoryDB.mdf'. Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check (DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online.

는 또한

DBCC CHECKDB(inventoryDB, REPAIR_ALLOW_DATA_LOSS) 

를 사용하여 체크 그러나 결과는 해당 데이터베이스 파일에서 내 데이터를 복구 할 수있는 가능성인가

DBCC results for 'inventoryDB'.
CHECKDB found 0 allocation errors and 0 consistency errors in database 'inventoryDB'.

아래에 주어진? 나는 또한 많은 사이트에서 많은 방법을 수행하고있다. 하지만 작동하지 않으며 동일한 오류 메시지가 표시됩니다.

+0

오, 기쁨, 나는 말 그대로 누군가에게 적절한 SQL Server 데이터베이스 백업의 중요성을 말하고있었습니다. –

+0

@JerryDodge 그래, 그리고 미디어를 확인하고 백업 후 일관성을 확인하십시오! –

답변

0

이 오류가 발생한 후에 mdf 백업을 가지고 있습니까? 그렇다면 테이블을 만들고 백업을 사용하여 복원해야합니다.

또는이 글을 읽어보세요 : 그것은 당신의 오류와 함께 도움이된다면 https://support.microsoft.com/en-ph/kb/2152734

을 참조하십시오.

관련 문제