C Scalar Function | UFC Code Examples | Teradata Vantage - 17.10 - C Scalar Function - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
English (United States)

This example shows the C code for a simple scalar function that finds a specified pattern in a string. The function allows a maximum length of 500 characters for the string and the test pattern. The result is a CHAR value of 'T' for TRUE and 'F' for FALSE.