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

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
qwr1571437338192.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantage™

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

Arguments

The pos argument is reserved for future use.

Return Value

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

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