Hỏi/ Thắc mắc - SQL Server - Lỗi không xóa được table | VN-Zoom | Cộng đồng Chia Sẻ Kiến Thức Công Nghệ và Phần Mềm Máy Tính

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We need money to operate the site, and almost all of it comes from our online advertising.

If possible, please support us by clicking on the advertisements.

Please add vn-z.vn to your ad blocking whitelist or disable your adblocking software.

×

Hỏi/ Thắc mắc SQL Server - Lỗi không xóa được table

ndhler

Búa Gỗ
Chào mọi người, mình đang bị lỗi khi xóa 1 table trong SQL Server.
- Mình chạy lệnh: drop table [table_name]
- Lỗi như sau:
SQL Server detected a logical consistency-based I/O error: incorrect checksum (expected: 0x69745570; actual: 0x83c8b03f). It occurred during a read of page (1:1655297) in database ID 11 at offset 0x00000328402000 in file 'E:\DataFiles\demo.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.
- Đã thử chạy DBCC CHECKDB và nhận báo lỗi ngay bảng muốn xóa.
Mong các bác giúp đỡ tìm cách khắc phục ạ. Xin cảm ơn.
 

Hinun97

Ở đâu khó có Hinun
Thành viên BQT
Bạn xóa bằng quyền root hay quyền user thôi?
 

congdongnet

Búa Đá Đôi
Xem có dính khóa ràng buộc gì không.
 

coony

Búa Đá
Thử xóa hết dữ liệu bảng đó đi trước, rồi drop xem sao
 

cowboy

Búa Đá Đôi
Cảm ơn bro, lỗi này là do data nó bị lỗi nên không drop được à bro
Dựa vào chi tiết có I/O error nên mình thiên về khả năng này hơn, data ở đây không chỉ là dữ liệu lưu trong bảng mà cũng có thể là các thuộc tính của bảng, mình cũng không chắc, chỉ là suy luận vậy. Cũng không thiên về tham chiếu khóa hay ràng buộc vì khi đó chi tiết thông báo lỗi sẽ khác
 


Top