RENAME - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

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.