15.10 - ALTER TABLE TO CURRENT - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Release Date
December 2015
Content Type
Programming Reference
Publication ID
B035-1144-151K
Language
English (United States)

Purpose

Reconciles the row partitioning for a table or uncompressed join index to a newly resolved date or timestamp when its partitioning is based on the DATE, CURRENT_DATE, or CURRENT_TIMESTAMP functions.

Required Privileges

To perform ALTER TABLE TO CURRENT you must have the DROP TABLE privilege on that table or join index or on its containing database or user.

To perform ALTER TABLE TO CURRENT on a join index, you must also have the INDEX or DROP TABLE privilege on any base table that a CURRENT_DATE or CURRENT_TIMESTAMP condition is defined on.

Privileges Granted Automatically

None.

Syntax