truncate(long len) - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
rin1593638965306.ditamap
dita:ditavalPath
rin1593638965306.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantage™

Truncate the BLOB value that this Blob object represents to be len bytes in length.

This method is reserved for a future release.

Syntax

truncate(long len)

Syntax Elements

len
The number of bytes from the bytes argument to append to the BLOB 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