SE_stream_set_dynamic_bind

Binds parameter in the WHERE clause

Usage syntax

LONG SE_stream_set_dynamic_bind (SE_STREAM stream, SHORT position, LONG sde_type, LONG length, const void *data, const SHORT *indicator);

Parameters
stream The stream handle
position The position number
sde_type ArcSDE data type
length Data size
data Pointer to the bind variable to use for the specified column when the stream is executed; if NULL is passed in, the column value is set to NULL when executed.
indicator Pointer to the indicator variable
Description

This function takes a data pointer that is used as the input bind variable in the WHERE clause. This function records the address of the pointer, the parameter information. The actual value (contents) of the pointer is determined when SE_stream_execute is called. This allows you to modify the value of the variable without rebinding the column by calling this function again. Passing in a NULL pointer indicates that the value for the specified column is NULL.

Returns

SE_SUCCESS
SE_CONNECTION_IN_USE

SE_CONNECTION_LOCKED

SE_FAILURE

SE_FUNCTION_SEQUENCE_ERROR

SE_INVALID_PARAM_VALUE

SE_INVALID_RELEASE

SE_INVALID_COLUMN_TYPE

SE_INVALID_POINTER

SE_INVALID_STREAM

SE_INVALID_STREAM_TYPE

SE_OUT_OF_CLMEM

SE_SDE_NOT_STARTED