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 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