If there's no other connection to the database, the DBCC operation is completed without errors. However, you receive the following error message:
If there are other connections to the database, the DBCC operation fails, and you receive the following error message:
The database could not be exclusively locked to perform the operation.
Msg 7926, Level 16, State 1, Line 1
Check statement aborted. The database could not be checked as a database snapshot could not be created and the database or table could not be locked. See Books Online for details of when this behavior is expected and what workarounds exist. Also see previous errors for more details.
ID Bài viết: 3099548 - Xem lại Lần cuối: 22-12-2015 - Bản sửa đổi: 1