17.10 - Example: Function Mapping with the ANY IN TABLE Option - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1144-171K
Language
English (United States)

Below is the function mapping definition CCMPrepare for the ccmprepare function on the server coprocessor.

During function processing, you can specify a single table that does not have a correlation name.

CREATE FUNCTION MAPPING appl_view_db.CCMPrepare
   FOR ccmprepare SERVER coprocessor 
   MAP JSON ( '{ "function_version": "1.0" }') 
   USING 
      ANY IN TABLE;