renamecolumn to table sql code example
Example 1: RENAME table pl sql
ALTER TABLE old_table_name
RENAME TO new_table_name;
Example 2: rename column sql
ALTER TABLE nom_table
RENAME COLUMN colonne_ancien_nom TO colonne_nouveau_nom
ALTER TABLE old_table_name
RENAME TO new_table_name;
ALTER TABLE nom_table
RENAME COLUMN colonne_ancien_nom TO colonne_nouveau_nom