Seaquel
SQL Server error code

SQL Server error 6979

SQL Server raises error 6979 at severity 16, which marks a problem with the query or data that you can correct.

Invalid restriction for type '%s'. The element in the restricted type must have the same name as and a more restrictive type than the corresponding element in the base type.
Msg6979
Severity16
Group6000–6999

Source: Database Engine events and errors