Retrieves the NCLOB data as a Reader object or as a stream of characters with a specified position and length.

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

Syntax

public java.io.Reader getCharacterStream(long pos,
                                  long length)

Parameters

pos

A long that indicates the offset to the first character of the partial value to be retrieved.

length

A long that indicates the length in characters of the partial value to be retrieved.

Return Value

A Reader object that contains the NCLOB data.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerNClob Class
getCharacterStream Method (SQLServerNClob)
SQLServerNClob Methods
SQLServerNClob Members