15.10 - language_clause - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

A code that represents the programming language in which the external function is written.

This is a mandatory attribute for all UDFs.

The valid languages for writing external UDFs are C, C++, and Java.

For C and C++ functions, language_clause must be specified as LANGUAGE C or LANGUAGE CPP even if the external function is supplied in object form.

If the external function object is not written in C, C++, or Java, it must be compatible with C, C++, or Java object code.

LANGUAGE
Keyword to introduce the programming language.
C
The external UDF is written in C.
CPP
The external UDF is written in C++.
JAVA
The external UDF is written in Java.
Row-level security constraints cannot be written in Java.
For JAVA UDFs, you cannot specify a data type of PERIOD, XML, XMLTYPE, JSON, UDT, ST_Geometry, MBR, ARRAY, or VARRAY.