SE_stream_execute

Executes an initialized stream

Usage syntax

LONG SE_stream_execute (SE_STREAM stream);

Parameters
stream The stream handle
Description

SE_stream_execute instructs the ArcSDE server to execute a previously defined operation on the specified stream. In the case of an insert or update, SE_stream_execute performs the insertion or update (unless the application has set buffered writes with SE_stream_set_write_mode ). In the case of a query, the server executes the underlying DBMS query. The application can iterate through the resulting rows of data with SE_stream_fetch.

For inserts or updates, the value of columns that were bound with any of the SE_stream_set_* functions are set to NULL after calling SE_stream_execute. For inserts or updates, any columns that were not bound by one of the SE_stream_set_* or SE_stream_bind_input_column functions causes SE_stream_execute to return the SE_COLUMN_NOT_BOUND error.

For inserts that are in buffered write mode, if SE_stream_execute returns an error, there is no guarantee that previously executed rows were inserted into the DBMS.

Returns

SE_SUCCESS
SE_ATTR_CONV_ERROR

SE_BLOB_SIZE_TOO_LARGE

SE_COLUMN_NOT_BOUND

SE_CONNECTION_IN_USE

SE_CONNECTION_LOCKED

SE_DB_IO_ERROR

SE_ETYPE_NOT_ALLOWED

SE_SHAPE_INTEGRITY_ERROR

SE_FILE_IO_ERROR

SE_FUNCTION_SEQUENCE_ERROR

SE_GSIZE_TOO_SMALL

SE_INCOMPATIBLE_COORDREFS

SE_INVALID_ENTITY_TYPE

SE__INVALID_COLUMN_VALUE

SE_INVALID_SHAPE

SE_INVALID_INDICATOR_VALUE

SE_INVALID_PARAM_VALUE

SE_INVALID_SHAPE_OBJECT

SE_INVALID_SQL

SE_LOCK_CONFLICT

SE_LOG_IO_ERROR

SE_LOG_NOTOPEN

SE_NET_FAILURE

SE_NO_ROWS_UPDATED

SE_OUT_OF_CLMEM

SE_OUT_OF_LOCKS

SE_OUT_OF_SVMEM

SE_SDE_NOT_STARTED

SE_TEMP_IO_ERROR