Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.65 KB

File metadata and controls

52 lines (39 loc) · 1.65 KB
title setAsciiStream Method (SQLServerClob) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerClob.setAsciiStream
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 6e1779df-3b2a-41d1-8dca-99692cc9da14
author David-Engel
ms.author v-daenge

setAsciiStream Method (SQLServerClob)

[!INCLUDEDriver_JDBC_Download]

Returns a stream to be used to write ASCII characters to the CLOB starting at the given position.

Syntax

  
public java.io.OutputStream setAsciiStream(long pos)  

Parameters

pos

The position at which to start writing to the CLOB object.

Return Value

The stream to which ASCII encoded characters can be written.

Exceptions

java.sql.SQLException

Remarks

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

Character data in the CLOB is overwritten by the output stream starting at the given position and can overrun the initial length of the CLOB. Specifying a position+1 value will append ASCII characters. Specifying a position+2 or greater (or zero or less) value will cause a position error to be thrown.

See Also

SQLServerClob Methods
SQLServerClob Members
SQLServerClob Class