Home | Previous Page | Next Page   Creating User-Defined Aggregates >

Creating User-Defined Aggregates

A user-defined aggregate extends the database server by providing information that allows the database server to apply that aggregate to data in the database. To create a user-defined aggregate, write and register support functions that perform the aggregation and then implement the aggregate with the CREATE Aggregate statement.

The CREATE Aggregate statement provides the following information about the aggregate to the database server:

For the syntax of the CREATE AGGREGATE statement, see the IBM Informix: Guide to SQL Syntax.

You cannot create a user-defined aggregate for any of the following data types:

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]