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.