Example: Updating ActionsTbl Row - Advanced SQL Engine - Teradata Database

Data Dictionary

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
muh1623078990997.ditamap
dita:ditavalPath
muh1623078990997.ditaval
dita:id
B035-1092
lifecycle
previous
Product Category
Teradata Vantageā„¢

The example shows updating a row in ActionsTbl, in which the user changes the destination map to TD_Map3:

UPDATE ActionsTbl
   SET ActionSQLText = 'ALTER TABLE FSK.customer, MAP=TD_Map3',
      DestinationMap = 'TD_Map3',
      Origin = 'U'
   WHERE ActionListName = 'fskobject'
      AND DatabaseName = 'fsk'
      AND TableName = 'customer';