Seaquel
SQL Server error code

SQL Server error 6994

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

Invalid restriction for type '%s'. The attribute wildcard in the restricted type must be a valid subset of the corresponding attribute wildcard in the base type, and the processContents may not be more permissive.
Msg6994
Severity16
Group6000–6999

Source: Database Engine events and errors