ALTER TABLE TO CURRENT Statement | Teradata Vantage - 17.00 - ALTER TABLE TO CURRENT - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Advanced SQL Engine
Teradata Database
Release Number
September 2020
Content Type
Programming Reference
Publication ID
English (United States)

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 execute 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 execute 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