Writes the specified string to the NCLOB starting at the specified position, based on the specified offset and length.

Note: This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

Syntax

int setString(long pos,
              java.lang.String str,
              int offset,
              int len)

Parameters

pos

The position at which to start writing to the NCLOB; the first position is 1.

str

The String to be written to the NCLOB.

offset

The offset into str to start reading the characters to be written.

len

The number of characters to be written.

Exceptions

SQLServerException

Remarks

This setString method is specified by the setString method in the java.sql.NClob interface.

See Also

SQLServerNClob Class
SQLServerNClob Methods
SQLServerNClob Members