cci_blob_write
설명
buf로부터 length만큼 데이터를 읽어 blob에 명시한 LOB 데이터 파일의 start_pos부터 저장한다.
구문
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) 연결 핸들
- blob : (IN): LOB Locator
- start_pos : (IN) LOB 데이터 파일의 위치 인덱스
- length : (IN) 버퍼로부터 가져올 데이터 길이
- error_buf : (OUT) 에러 버퍼
리턴 값
- write한 크기(>=0 : 성공)
- 에러 코드 (<0 : 에러)
에러 코드
- CCI_ER_CON_HANDLE
- CCI_ER_CONNECT
- CCI_ER_COMMUNICATION
- CCI_ER_NO_MORE_MEMORY
- CCI_ER_DBMS