SE_stream_set_smallint

Sets the value for a small integer column

Usage syntax

LONG SE_stream_set_smallint
(SE_STREAM stream,
SHORT column,
const SHORT *short_val);

Parameters
stream The stream handle
column The column number to set; columns numbers start with the number 1.
short_val Pointer to the small integer value to set
Description

SE_stream_set_smallint sets the value of a small integer column, which is used to insert or update a row in a table or layer.

If the short_val is NULL, a NULL value is set for this column.

Returns

SE_SUCCESS
SE_BIND_CONFLICT

SE_CONNECTION_LOCKED

SE_CONNECTION_IN_USE

SE_FAILURE

SE_FUNCTION_SEQUENCE_ERROR

SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_INVALID_STREAM

SE_INVALID_STREAM_TYPE

SE_SDE_NOT_STARTED

SE_WRONG_COLUMN_TYPE

Note

∙  An SE_BIND_CONFLICT error is returned if SE_stream_bind_input_column was already called for the specified column or if the SE_stream_bind_input_column function is called after calling the SE_stream_set_smallint function on the same column.