Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.07 KB

mssqlserver-8710-database-engine-error.md

File metadata and controls

32 lines (27 loc) · 1.07 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
MSSQLSERVER_8710
MSSQLSERVER_8710
MashaMSFT
mathoma
04/04/2017
sql
supportability
reference
8710 (Database Engine error)

MSSQLSERVER_8710

[!INCLUDE SQL Server]

Details

Attribute Value
Product Name MSSQLSERVER
Event ID 8710
Event Source MSSQLSERVER
Component SQLEngine
Symbolic Name QUERY2_CUBE_ILLEGAL_AGG_FUNC
Message Text Aggregate functions that are used with CUBE, ROLLUP, or GROUPING SET queries must provide for the merging of subaggregates. To fix this problem, remove the aggregate function or write the query using UNION ALL over GROUP BY clauses.

Explanation

An aggregate function has been used with CUBE, ROLLUP, or GROUPING SETS that does not provide a method for merging subaggregates.

User Action

To fix this problem, remove the aggregate function or write the query using UNION ALL over GROUP BY clauses.