Freigeben über


setString Method (long, java.lang.String) (SQLServerNClob)

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

Hinweis

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

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

Parameter

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.

Rückgabewert

The number of characters written.

Ausnahmen

SQLServerException

Hinweise

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

Siehe auch

Referenz

SQLServerNClob Class

Konzepte

SQLServerNClob Methods
SQLServerNClob Members