Share via


length Method (SQLServerNClob)

Retrieves the number of characters in the NClob.

Note

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

Syntax

public long length()

Return Value

The length of the NClob in number of characters.

Exceptions

SQLServerException

Remarks

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

See Also

Reference

SQLServerNClob Class

Concepts

SQLServerNClob Methods

SQLServerNClob Members