RepairType RepairType RepairType Enum


The RepairType enumeration contains values that are used to specify the type of repair mode used by the database consistency check (DBCC) functions.

public enum class RepairType
public enum RepairType
Public Enum RepairType


AllowDataLoss AllowDataLoss AllowDataLoss 3

Tries to repair all reported errors. These repairs can cause some data loss.

Fast Fast Fast 1

Maintains syntax for backward compatibility only. No repair is performed.

None None None 0

No repair is performed.

Rebuild Rebuild Rebuild 2

Performs repairs that have no possibility of data loss. This can include quick repairs, such as repairing missing rows in non-clustered indexes, and more time-consuming repairs, such as rebuilding an index. REPAIR does not repair errors involving FILESTREAM data.


The RepairType enumeration class is served by the CheckTables method and the CheckAllocations method.

Applies to