SE_queryinfo_set_dynamic_bind |
Dynamically binds a function variable to a WHERE clause column value
LONG SE_queryinfo_set_dynamic_bind
(SE_QUERYINFO query_info,
SHORT position,
LONG sde_type,
LONG length,
const void *data,
const SHORT *indicator);
query_info | The SE_QUERYINFO handle |
position | The position number |
sde_type | ArcSDE data type |
length | The 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 |
This function takes a data pointer that is used as the input bind variable in the WHERE clause. This function simply 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 the user 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.
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_OUT_OF_CLMEM
SE_SDE_NOT_STARTED