Example: Drop Default Journal Table - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
Language
English (United States)
Last Update
2024-04-03
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

If the default journal table is in the database being modified, you need two MODIFY requests.

The journal table FinCopy is in the personnel database. To change the default journal table from FinCopy to Jrnl1, the present default journal table must be dropped by entering the following request.

The following request removes FinCopy as the default and drops it from the system:

     MODIFY DATABASE Personnel AS
     DROP DEFAULT JOURNAL TABLE;

If any existing tables use FinCopy as their journal table, the request returns an error message.