15.10 - ALTER TABLE TO CURRENT - 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

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