Quantcast
Channel: web hosting
Viewing all articles
Browse latest Browse all 112

The DBCC CHECKDB statement does not raise exceptions in SQL Server when the DBCC CHECKDB statement detect a consistency error in the database

$
0
0
SymptomsIn Microsoft SQL Server, you use a TRY…CATCH construct to process exceptions that are raised from the DBCC CHECKDB statement. However, when the DBCC CHECKDB statement detects a consistency error in the database, the CATCH block is not triggered.Note This behavior also occurs in SQL Server 2008.ResolutionThis behavior occurs because the DBCC CHECKDB statement does [...]

Viewing all articles
Browse latest Browse all 112

Trending Articles