getNClob Method (int) (SQLServerResultSet)

Retrieves the value of the designated column in the current row of the SQLServerResultSet object as an NClob object in the Java programming language.

Note

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

public java.sql.NClob getNClob(int columnIndex)

Parameters

columnIndex

An int that indicates the column index.

Return Value

A NClob object.

Exceptions

SQLServerException

Remarks

This getNClob method is specified by the getNClob method in the java.sql.ResultSet interface.

This method is supported only on nvarchar(max), ntext, and xml columns. Using this method on any other data types will cause an exception to be thrown.

See Also

Reference

SQLServerResultSet Class

Concepts

getNClob Method (SQLServerResultSet)
SQLServerResultSet Methods
SQLServerResultSet Members