SQL Server error code
SQL Server error 5310
SQL Server raises error 5310 at severity 16, which marks a problem with the query or data that you can correct.
Aggregates are not allowed in the VALUES list of an INSERT statement.
| Msg | 5310 |
|---|---|
| Severity | 16 |
| Group | 5000–5999 |