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_insert

Description

The cci_col_seq_insert function inserts one member at the index-th (base: 1) position of the sequence attribute values. The following example shows how to insert "a" at the first position of the sequence attribute values.

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

Syntax

intcci_col_seq_insert (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 element (string)
  • err_buf: (OUT) Database error buffer
Return Value
  • Error code
Error Code
  • CCI_ER_CON_HANDLE
  • CCI_ER_CONNECT
  • CCI_ER_OBJECT
  • CCI_ER_DBMS