17.10 - Example: Showing the Definition of a Function Mapping in XML Format - 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)

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>