Aggregate information in the system catalog

The CREATE AGGREGATE statement registers an aggregate in the sysaggregates system catalog table. The person who registers the aggregate with CREATE AGGREGATE is the owner of the aggregate. The sysaggregates table does not include information about built-in aggregates.

Both user-extended built-in aggregates and user-defined aggregates require user-defined functions. The system catalog tables sysprocauth, sysprocbody, and sysprocedures record information about the functions that you create, including those that support user-defined aggregates and extensions of built-in aggregates.

For descriptions of the system catalog tables, see the HCL OneDB™ Guide to SQL: Reference.