Writes the specified String to the NCLOB starting at the specified position.

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

Syntax

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

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.

Return Value

The number of characters 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