setCharacterStream(long pos) - Analytics Database - Teradata Vantage

SQL External Routine Programming

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-03-30
dita:mapPath
iiv1628111441820.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
qnu1472247494689
lifecycle
latest
Product Category
Teradata Vantage™

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.

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

Syntax

setCharacterStream(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, 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