16.20 - Example: Changing a Single Before-Image Journal to a Dual Before-Image Journal and Dropping Two Columns - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Content Type
Programming Reference
Publication ID
B035-1144-162K
Language
English (United States)
Last Update
2019-05-24

The following request changes the single before image journal to a dual image journal and also drops two columns:

     ALTER TABLE newemp, 
       DUAL BEFORE JOURNAL 
       DROP phone, 
       DROP pref;