SQL Server error code
SQL Server error 4712
SQL Server raises error 4712 at severity 16, which marks a problem with the query or data that you can correct.
Cannot truncate table '%.*ls' because it is being referenced by a FOREIGN KEY constraint.
| Msg | 4712 |
|---|---|
| Severity | 16 |
| Group | 4000–4999 |