Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.46 KB

File metadata and controls

47 lines (33 loc) · 1.46 KB
title getCharacterStream Method (long, long)
description getCharacterStream Method (long, long)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference

getCharacterStream Method (long, long)

[!INCLUDEDriver_JDBC_Download]

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

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 Clob data.

Exceptions

SQLServerException

Remarks

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

See Also

getCharacterStream Method (SQLServerClob)
SQLServerClob Methods
SQLServerClob Members