Renaming tables and columns
You can use the RENAME statement to rename an existing table. To rename columns, use the ALTER TABLE statement.
About this task
The RENAME COLUMN clause is an option on the ALTER TABLE statement. You can rename an existing column in a base table to a new name without losing stored data or affecting any privileges or label-based access control (LBAC) policies that are associated with the table.
Only the renaming of base table columns is supported. Renaming columns in views, materialized query tables (MQTs), declared and created temporary tables, and other table-like objects is not supported.
Invalidation and revalidation semantics for the rename column operation are similar to those for the drop column operation; that is, all dependent objects are invalidated. Revalidation of all dependent objects following a rename column operation is always done immediately after the invalidation, even if the auto_reval database configuration parameter is set to DISABLED.
ALTER TABLE org RENAME COLUMN deptnumb TO deptnum
To change the definition of existing columns, see the "Changing column properties" topic or the ALTER TABLE statement.