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_col_seq_put

Description

The cci_col_seq_put function replaces the index-th (base:1) member of the sequence attribute values with a new value. The following example shows how to replace the first member of the sequence attributes values with "a".

cci_col_seq_put(con_id, oid_str, seq_attr, 1, "a", err_buf);

Syntax

intcci_col_seq_put (int conn_handle, char *oid_str, char *col_attr, int index, char *value, T_CCI_ERROR *err_buf)

  • conn_handle : (IN) Connection handle
  • oid_str : (IN) oid
  • col_attr : (IN) Collection attribute name
  • index : (IN) Index
  • value : (IN) Sequential value
  • err_buf : (OUT) Database error buffer
Return Value
  • Error code
Error Codes
  • CCI_ER_CON_HANDLE
  • CCI_ER_CONNECT
  • CCI_ER_OBJECT
  • CCI_ER_DBMS