17.05 - JOURNAL - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Advanced SQL Engine
Teradata Database
Release Number
January 2021
Content Type
Programming Reference
Publication ID
English (United States)
Last Update

Type of image to be maintained for the table.

This option can appear twice in the same request: once to specify a BEFORE or AFTER image, and again to specify the alternate type.

Permanent journaling is not supported for NoPI tables, column-partitioned tables, global temporary tables, or volatile tables.

The default for this option is established by a CREATE DATABASE, CREATE USER, or MODIFY USER request for the database in which the table is to be created.

You cannot add or modify journal options for a NoPI or column-partitioned table.

Journal options are not supported for tables with row sizes greater than 64KB.

If you specify either BEFORE or AFTER, Vantage maintains only the default journal image for that type of journal.
For example, if you specify AFTER, before-image journaling remains at the default setting.
If you specify both BEFORE and AFTER, Vantage maintains both journal images, but the two specifications must not conflict with one another.
If you do not specify BEFORE or AFTER, Vantage maintains both journal images.