SQL Server error code
SQL Server error 1791
SQL Server raises error 1791 at severity 16, which marks a problem with the query or data that you can correct.
A DEFAULT constraint cannot be created on the column '%.*ls' in the table '%.*ls' because the column is a sparse column or sparse column set. Sparse columns or sparse column sets cannot have a DEFAULT constraint.
| Msg | 1791 |
|---|---|
| Severity | 16 |
| Group | 1000–1999 |