17.05 - RENAME - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1144-175K
Language
English (United States)

Change a column or constraint name.
You can rename a column and add a new column to the same table using the old name for the renamed column. However, you must rename the old column before creating a new column with the previous name.

old_column_name
Current name of the column.
old_constraint_name
Current name of the constraint.
AS
Keyword that precedes new name.
TO
Keyword that precedes new name.
new_column_name
New name for the column.
new_constraint_name
New name for the constraint.