Rename Tables | Command Line | Teradata DSA - Renaming Tables - BAR - Data Stream Architecture

Teradata® DSA User Guide

Product
BAR
Data Stream Architecture
Release Number
17.05
Published
September 2020
Language
English (United States)
Last Update
2021-04-02
dita:mapPath
ihc1599061140065.ditamap
dita:ditavalPath
vwp1576617377804.ditaval
dita:id
B035-3150
lifecycle
previous
Product Category
Software
Teradata Tools and Utilities
You can rename tables in a restore job by adding rename_to to the table in the XML file containing the job definition.
  1. Open the XML file containing the job definition information.
  2. Under objectinfo, identify the table to rename and add the new table name inside rename_to.
    In the following example, table T1 in the ABC database is restored and renamed as T2:
    <objectinfo>
        <object_name>T1</object_name>
        <object_type>TABLE</object_type>
        <parent_name>ABC</parent_name>
        <parent_type>DATABASE</parent_type>
        <object_attribute_list>
            <rename_to>T2</rename_to>
        </object_attribute_list>
    </objectinfo>