Deletes a user-defined aggregate function.
Description
The DROP AGGREGATE command deletes a user-defined aggregate function (UDAF). A user-defined aggregate function is created using the CREATE AGGREGATE command.
If you attempt to drop a UDAF that does not exist, SQL issues an SQLCODE -428 error, with a message such as: User Defined Aggregate Function Sample.SecondHighest does not exist.
Dropping a UDAF automatically purges any cached queries that reference that UDAF.