Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

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

cci_clob_read

Description

The cci_clob_read function reads as much as data from start_pos to length in the LOB data file specified in clob; then it stores it in buf and returns it.

Syntax

int cci_clob_read(int conn_handle, T_CCI_CLOB clob, long start_pos, int length, const char *buf, T_CCI_ERROR* error_buf)

  • conn_handle: (IN) Connection handle
  • clob: (IN) LOB Locator
  • start_pos: (IN) Index location of LOB data file
  • length: (IN) LOB data length from buffer
  • error_buf : (OUT) Error buffer
Return Value
  • Size of read value (>= 0: success)
  • Error code (< 0: Error)
Error Code
  • CCI_ER_INVALID_LOB_READ_POS
  • CCI_ER_CON_HANDLE
  • CCI_ER_CONNECT
  • CCI_ER_COMMUNICATION
  • CCI_ER_NO_MORE_MEMORY
  • CCI_ER_DBMS
  • CCI_ER_INVALID_LOB_HANDLE