DROP DEFAULT JOURNAL TABLE - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

Removal of the default status of the journal table currently defined as the default for the specified user.

If the journal table is contained by the user being modified, DROP also drops the table from the system. An error message is returned if the journal table is being used by active data tables.

Specifying this option does not change the status of existing data tables for the modified user.

table_name
The table_name parameter is required if this clause is specified without the DROP keyword.
database_name
If you do not specify a database, then Vantage assumes the current database by default.
If the database being modified does not have a journal table, table_name is created.
If you specify a different database, then it must already exist and table_name must already be defined as its default journal table.
user_name
If you do not specify a user, then Vantage assumes the current user by default.
If the user being modified does not have a journal table, table_name is created.
If you specify a different user, then it must already exist and table_name must already be defined as its default journal table.