RENAME TABLE Statement | VantageCloud Lake - RENAME TABLE - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

Renames an existing table.

You cannot rename a temporal table that has a system-defined single-table join index. You must first drop the system-defined join index and then rename the table.

ANSI Compliance

RENAME TABLE is a Teradata extension to the ANSI SQL:2011 standard.

Required Privileges

You must have DROP privileges on the table to be renamed, and the appropriate CREATE privileges on its containing database or user.