16.20 - Example: Updating ActionsTbl Row - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantageā„¢ Data Dictionary

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-03
dita:mapPath
zzu1512081120577.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval

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';