Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.2.1 |  CUBRID 8.3.0 |  CUBRID 8.3.1 |  CUBRID 8.4.0 |  CUBRID 8.4.1 |  CUBRID 8.4.3 |  CUBRID 9.0.0 | 

cci_cursor_update

Description

This function is used to update cursor_pos from the value of the index th column to value . If the database is updated to NULL, value becomes NULL. For update conditions, see cci_prepare(). The data type of value for a_type is shown in the table below.

  

a_type

value Type

CCI_A_TYPE_STR

char*

CCI_A_TYPE_INT

int*

CCI_A_TYPE_FLOAT

float*

CCI_A_TYPE_DOUBLE

double*

CCI_A_TYPE_BIT

T_CCI_BIT*

CCI_A_TYPE_SET

T_CCI_SET

CCI_A_TYPE_DATE

T_CCI_DATE*

CCI_A_TYPE_BIGINT

int64_t (For Windows : __int64)

CCI_A_TYPE_BLOB
T_CCI_BLOB

 

CCI_A_TYPE_CLOB
T_CCI_CLOB

Syntax

int cci_cursor_update(int req_handle, int cursor_pos, int index, T_CCI_A_TYPE a_type, void *value, T_CCI_ERROR *err_buf)

  • req_handle : (IN) Request handle
  • cursor_pos : (IN) Cursor position
  • index : (IN) Column index
  • a_type : (IN) value Type
  • value : (IN) A new value
  • err_buf : (OUT) Database error buffer
Return Value
  • Error code (0 : no error)
Error Code
  • CCI_ER_REQ_HANDLE
  • CCI_ER_TYPE_CONVERSION
  • CCI_ER_ATYPE