Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

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

cci_blob_write

Description

The cci_blob_write function reads as much as data from buf to length and stores it from start_pos of the LOB data file specified in blob.

Syntax

int cci_blob_write(int conn_handle, T_CCI_BLOB blob, long start_pos, int length, const char *buf, T_CCI_ERROR* error_buf)

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