SE_stream_set_nstring

Sets the value for a Unicode string column

Usage syntax

LONG SE_stream_set_nstring (SE_STREAM stream, SHORT column, const SE_WCHAR *string_val);

Parameters
stream The stream handle
column The column number
string_val Pointer to the bind variable to use for the Unicode string column when the stream is executed; if NULL is passed in, the column value is set to NULL when executed.
Description

This function sets the value of a Unicode string column, which is to be used to insert/update a row in a table or layer. This function copies the value into the row’s staged data area.

If a NULL pointer value is passed in, then the column value will be set to NULL.

Returns

SE_BIND_CONFLICT
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_SDE_NOT_STARTED

SE_SUCCESS

SE_WRONG_COLUMN_TYPE

Notes

∙  The string must end with a NULL character.

∙  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_nstring function on the same column.