17.10 - Example: Function Mapping Definition for a Function Within the Database - 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)

The function mapping definition user_Attribution specifies the function attribution in the current database.

CREATE FUNCTION MAPPING user_Attribution
   FOR attribution 
   USING
      ANY IN TABLE,
      ANY IN TABLE,
      conversion IN TABLE,
      excluding IN TABLE,
      optional IN TABLE,
      model1 IN TABLE,
      model2 IN TABLE,
      EventColumn, TimestampColumn, WindowSize;