Error Messages Relating to Aggregates
| Code | 159500 |
| Severity | Debug |
| Message | Group By {0}:. |
| Description | No additional information available. |
| Code | 159501 |
| Severity | Debug |
| Message | order by {0}: |
| Description | No additional information available. |
| Code | 159502 |
| Severity | Emergency |
| Message | The return type of the Group Filter expression is not an integer in window {0]. |
| Description | The return type of a Group Filter expression must be an integer. |
| Code | 159503 |
| Severity | Error |
| Message | Group Filter clause contains aggregation functions in window {0}. |
| Description | Group Filter clauses cannot contain aggregation operations. |
| Code | 159504 |
| Severity | Emergency |
| Message | Group Order by Clause contains aggregation function |
| Description | No additional information available. |
| Code | 159505 |
| Severity | Error |
| Message | Window {0} specifies a Group Order By clause without a Group By clause. |
| Description | A Group Order By clause only makes sense in conjunction with a Group By clause. |
| Code | 159506 |
| Severity | Error |
| Message | Window {0} specifies a Group Filter clause without a Group By clause. |
| Description | A Group Filter clause only makes sense in conjunction with a Group By clause. |
| Code | 159507 |
| Severity | Error |
| Message | {0}({1}): Optimized to additive aggregation, no internal state to examine |
| Description | No additional information available. |
| Code | 159508 |
| Severity | Error |
| Message | Window {0} has an HAVING clause specified without Group By clause. |
| Description | No additional information available. |
| Code | 159509 |
| Severity | Error |
| Message | Window {0} has an aggregation operation without group by clause. |
| Description | No additional information available. |
| Code | 159510 |
| Severity | Error |
| Message | Expression uses aggregation operations when the context doesn't allow it. |
| Description | Use of aggregates are only allowed in the projection clause or having clause. |
| Code | 159511 |
| Severity | Error |
| Message | Where clause may not have aggregation operations. |
| Description | No additional information available. |
| Code | 159512 |
| Severity | Error |
| Message | Group by clause may not have aggregation operations. |
| Description | No additional information available. |
| Code | 159513 |
| Severity | Error |
| Message | Group by column doesn't exist in the projection list. |
| Description | Group by columns are required to be present in the projection list. |
| Code | 159514 |
| Severity | Error |
| Message | An internal error has occurred. Group by columns are missing. |
| Description | No additional information available. |