SE_stream_set_clob

Sets the value for a CLOB column

Usage syntax

LONG SE_stream_set_clob (SE_STREAM stream, SHORT column, const SE_CLOB_INFO *clob_val);

Parameters
stream The stream handle
column The column number
clob_val Pointer to the bind variable to use for the CLOB column
Description

This function sets the value of a CLOB column, which is to be used to insert or update a row in a table or layer. This function copies the value into the row’s staged data area. If clob_val is NULL, the column value will be set to NULL.

This function makes a duplicate of the given CLOB buffer and allocates additional memory to contain the CLOB. This can be inefficient when used with large CLOBs. For this situation, you may prefer to use SE_stream_bind_input_column because it does not create a copy of the CLOB. However, be aware that an SE_BIND_CONFLICT error is returned if SE_stream_bind_input_column was called earlier for the specified column or if you call SE_stream_bind_input_column after calling SE_stream_set_clob.

Returns

SE_BIND_CONFLICT
SE_BLOB_SIZE_TOO_LARGE

SE_CONNECTION_LOCKED

SE_CONNECTION_IN_USE

SE_FAILURE

SE_FUNCTION_SEQUENCE_ERROR

SE_INVALID_COLUMN_VALUE

SE_INVALID_POINTER

SE_INVALID_PARAM_VALUE

SE_INVALID_STREAM

SE_INVALID_STREAM_TYPE

SE_OUT_OF_CLMEM

SE_SDE_NOT_STARTED

SE_SUCCESS

SE_WRONG_COLUMN_TYPE