setNClob Method (java.lang.String, java.io.Reader, long)

Download JDBC driver

Sets the designated parameter to the specified Reader object, which is the specified number of characters long.

Syntax

  
public final void setNClob(java.lang.String parameterName,  
              java.io.Reader reader,  
              long length)  

Parameters

parameterName

A String that contains the parameter name.

reader

A Reader object.

length

A long that indicates the number of characters in the stream.

Exceptions

SQLServerException

Remarks

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

This setNClob method is specified by the setNClob method in the java.sql.CallableStatement interface.

See Also

setNClob Method (SQLServerCallableStatement)
SQLServerCallableStatement Members