CREATE/REPLACE FUNCTION MAPPING Examples | Teradata Vantage - 17.05 - Example: Defining a Function Mapping - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Content Type
Programming Reference
Publication ID
B035-1144-175K
Language
English (United States)
Last Update
2021-01-22

Below is an example of a definition for a function mapping named myfnc on the database appl_view_db for the function fnc located on the server coprocessor.

CREATE FUNCTION MAPPING appl_view_db.myfnc 
   FOR fnc SERVER coprocessor;