16.20 - setCharacterStream(long pos) - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Programming Reference
Publication ID
B035-1147-162K
Language
English (United States)

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

Arguments

The pos argument is reserved for future use.

Return Value

setCharacterStream() returns a stream to which Unicode characters can be written.

Exceptions

If the value of the pos argument is less than 1, setCharacterStream() 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