Rediģēt

Kopīgot, izmantojot


setNCharacterStream Method (int, java.io.Reader)

Download JDBC driver

Sets the designated parameter to the specified Reader object.

Syntax

  
public final void setNCharacterStream(int parameterIndex,  
                                                 java.io.Reader value)  

Parameters

parameterIndex

An int that indicates the parameter index.

value

A Reader object that contains the parameter value.

Exceptions

SQLServerException

Remarks

This setNCharacterStream method is specified by the setNCharacterStream method in the java.sql.PreparedStatement interface.

This method should be used for NCHAR, NVARCHAR, NTEXT, and XML data types.

See Also

setNCharacterStream Method (SQLServerPreparedStatement)
SQLServerPreparedStatement Members