A scalar UDF is a V3 or V4 external C or C++ procedure that operates on a single value.
See User-Defined Functions for detailed information and examples. External C and C++ procedures require a separately licensed SAP Sybase IQ option.