Creating and executing user-defined functions

User-defined functions (UDFs) return a single value to the calling environment.

Note:

User-defined functions are a licensable option, and require the IQ_UDF license. Installing the license enables user-defined functions.

You can install 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 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 with the installation of the UDF libraries and associated SQL function definition scripts.