Example: Showing the Definition of a Function Mapping in XML Format - Analytics Database - Teradata Vantage

SQL Data Definition Language Syntax and Examples

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
jco1628111346878.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
mdr1472255012272
lifecycle
latest
Product Category
Teradata Vantage™

This statement displays the definition in XML format of the function mapping Interpolator in the database appl_view_db.

SHOW IN XML FUNCTION MAPPING appl_view_db.Interpolator;

Following is the sample output.

<TeradataDBObjectSet xmlns="http://schemas.teradata.com/dbobject" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://schemas.teradata.com/dbobject http://schemas.teradata.com/dbobject/DBObject.xsd"><MappingName dbName="appl_view_db" name="Interpolator" objId="0:2596" objVer="1" mappingFunction="Interpolator" remoteServer="coprocessor"><MappingClauseList><ClauseName="TD_MAP_JSON" value="{ \"function_version\": \"1.0\" }" clauseAttrib="M"/><ClauseName="input_table" value="" clauseAttrib ="I"/><Clause name="time_table" value="" clauseAttrib="I"/><Clause name="count_row_number" value="" clauseAttrib ="I"/><Clause name="TimeColumn" value="" clauseAttrib =""/><Clause name="ValueColumns" value="" clauseAttrib=""/></MappingClauseList></MappingName><Environment><Server dbRelease="16.50.00.00" dbVersion="16.20q.00.43alias_d2d" hostName="localhost"/><UseruserId="00000104" userName="UT1"/><Session charset="ASCII" dateTime="2017-07-24T09:10:39"/></Environment></TeradataDBObjectSet>