Contents Index GREATER function [Miscellaneous] HEXTOINT function [Data type conversion]

ASA SQL Reference
  SQL Functions
    Alphabetical list of functions

GROUPING function [Aggregate]


Function 

Identifies whether a column in a ROLLUP operation result set is NULL because it is part of a subtotal row, or NULL because of the underlying data.

Syntax 

GROUPING ( group-by-expression )

Parameters 

group-by-expression    An expression appearing as a grouping column in the result set of a query that uses a GROUP BY clause with the ROLLUP keyword. The function identifies subtotal rows added to the result set by a ROLLUP operation.

Return value 
Standards and compatibility 
See also 

The ROLLUP operation: adding summary information to GROUP BY queries

SELECT statement

Example 

See The ROLLUP operation: adding summary information to GROUP BY queries.


Contents Index GREATER function [Miscellaneous] HEXTOINT function [Data type conversion]