SQL Server error code
SQL Server error 8663
SQL Server raises error 8663 at severity 16, which marks a problem with the query or data that you can correct.
Cannot create the clustered index "%.*ls" on view "%.*ls" because its select list does not include COUNT_BIG(*). Consider adding COUNT_BIG(*) to the select list.
| Msg | 8663 |
|---|---|
| Severity | 16 |
| Group | 8000–8999 |