17.10 - position(java.sql.Blob pattern, long start) - 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)

Retrieves the byte position at which the Blob pattern begins within the BLOB value that this Blob object represents. The search for pattern begins at position start.

This method is reserved for a future release.

Syntax

position(java.sql.Blob pattern, long start)

Syntax Elements

pattern
The byte array containing the pattern for which to search.
start
The position at which to begin searching.
The first position is 1.

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