15.10 - JOURNAL - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

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.

BEFORE JOURNAL
AFTER JOURNAL
If you specify either BEFORE or AFTER, Teradata Database 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, Teradata Database maintains both journal images, but the two specifications must not conflict with one another.
If you do not specify BEFORE or AFTER, Teradata Database maintains both journal images.