Example: Showing the Definition of a Function Mapping in XML Format - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1144
lifecycle
previous
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>