17.10 - truncate(long len) - 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)

Truncate the CLOB value that this Clob object represents to be len characters in length.

This method is reserved for a future release.

Syntax

truncate(long len)

Syntax Elements

len
The number of characters from the str argument to append to the CLOB value.

Exceptions

This method throws an SQLException to indicate that a Java external routine called a method that is not yet supported, setting the SQLException fields as follows.

SQLState Field vendorCode Field
“0A000” 7858