Report function return value
The value returned by the report function call,
of type
CCLDBColumnState
, tells the expression engine
the status of the function execution. CCLDBColumnState
may
take any of the following values.
- CCL_DB_COLSTATE_OK
- Function call was successful.
- CCL_DB_COLSTATE_NULL
- One of the function arguments was missing (NULL).
- CCL_DB_COLSTATE_NA
- One of the function arguments was unavailable.
- CCL_DB_COLSTATE_DIVBYZERO
- A divide-by-zero error occurred.
- CCL_DB_COLSTATE_OVERFLOW
- For numerics, an overflow or underflow occurred. For strings, truncation of the string occurred.
- CCL_DB_COLSTATE_SECURITY
- Access to one of the function arguments was prohibited for security reasons.
- CCL_DB_COLSTATE_UNKNOWN
- Status is reserved for cases where the status is not truly known.
- CCL_DB_COLSTATE_ERROR
- A generic error indicating all other cases.
- CCL_DB_CASTING_ERROR
- Invalid data was passed to a data type casting function.
- CCL_DB_COLSTATE_SAMPLE
- Temporary status returned by the engine while processing is not yet complete. Internal use only.