17.10 - Example: Defining SQL_TEXT and Including sqltypes_td.h - 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)

The following example shows how to define SQL_TEXT and include the sqltypes_td.h header file in the file that defines a UDF:

#define  SQL_TEXT Latin_Text
#include "sqltypes_td.h"

Alternatively, you can use the following line to include the sqltypes_td.h header file:

#include <sqltypes_td.h>

Using angle brackets (< >) or double quotation marks (" ") affects the path that the C preprocessor uses to search for the sqltypes_td.h header file.