Scalar and Aggregate UDFs

Scalar and aggregate user-defined functions return a single value to the calling environment.

Note: Scalar and aggregate UDFs are a licensable option, and require the IQ_UDF or IQ_IDA license. Installing the license enables user-defined functions.

You can install SAP Sybase IQ in a wide variety of configurations. UDFs must be easily installed within this environment, and must be able to run within all supported configurations. The SAP Sybase IQ installer provides a default installation directory, but allows users to select a different installation directory. UDF developers should consider providing the same flexibility when installing the UDF libraries and associated SQL function definition scripts.