Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.4.3 | 

CCI_QUERY_RESULT_ERR_NO

Description

Since query results performed by cci_execute_batch, cci_execute_array or cci_execute_result function are stored as an array of T_CCI_QUERY_RESULT type so you need to check the query result for each item of the array.

CCI_QUERY_RESULT_ERR_MSG fetches the error number for the array item specified as index, if it is not an error, it returns 0.

Syntax

#define CCI_QUERY_RESULT_ERR_NO(T_CCI_QUERY_RESULT* query_result, int index)

  • query_result : (IN) Query result to retrieve
  • index : (IN) Index (base: 1) of the result array. It represents a specific location of the result array.
Return Value
  • Error number