Share via


truncate Method (SQLServerNClob)

Truncates the NCLOB to the specified length.

Note

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

public void truncate(long len)

Parameters

len

The length, in characters, to which the NCLOB value should be truncated.

Exceptions

SQLServerException

Remarks

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

See Also

Reference

SQLServerNClob Class

Concepts

SQLServerNClob Methods
SQLServerNClob Members