Calling patterns are steps the functions perform as results
are gathered.
UDF and UDAF callback functions
The set of callback functions supplied by the engine through the a_v3_extfn_scalar_context structure and used within the user's UDF functions include:
Scalar UDF calling pattern
In general, the expected calling pattern for these supplied function pointers for a scalar UDF look like this:
Aggregate UDF calling patterns
The calling patterns for the user-supplied aggregate UDF functions are more complex and varied than the scalar calling patterns. This section shows example calling sequences that IQ UDAFs encounter for different SQL statements. These examples use this table definition:
Created November 2, 2009. Send feedback on this help topic to Sybase Technical Publications:
pubs@sybase.com