Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.57 KB

File metadata and controls

50 lines (36 loc) · 1.57 KB
title getCharacterStream Method (long, long) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
ms.assetid d70f502f-f60f-436a-83e6-797a0ed71bf3
author David-Engel
ms.author v-daenge

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