17.10 - setAsciiStream(long pos) - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)

Retrieves a stream that can be used to append standard ASCII characters to the end of the CLOB value that this Clob object represents.

setAsciiStream() returns a java.io.OutputStream object to which standard ASCII can be written.

Syntax

setAsciiStream(long pos)

Syntax Elements

pos
The pos argument is reserved for future use.

Exceptions

If the value of the pos argument is less than 1, setAsciiStream() throws an SQLException to indicate that a Java external routine called a Blob or Clob method with invalid arguments, setting the SQLException fields as follows.

SQLState Field vendorCode Field
“22023” 7859