Search notes:

Oracle SQL noun: TABLE

The Oracle SQL statements with the noun table are

alter table add column

alter table … add … adds a column to a table.
The default clause allows to specify a value with which the new column is filled.
create table tq84_table (
  col_1 number,
  col_2 date
);

desc tq84_table;

insert into tq84_table values (1, sysdate);

alter table tq84_table add ( col_3 varchar2(10));
alter table tq84_table add ( col_4 number, col_5 number);
alter table tq84_table add ( col_6 number default 7);

desc tq84_table;

select * from tq84_table;

drop table tq84_table purge;
Github repository Oracle-Patterns, path: /DatabaseObjects/Tables/AlterTable/add_column.sql

alter table rename column

alter table … rename column … allows to rename a column in a table, as is demonstrated in the following simple example:
create table tq84_table (
  col_1 number,
  col_2 date
);

insert into tq84_table values (1, sysdate);

alter table tq84_table rename column col_1 to nm;
alter table tq84_table rename column col_2 to dt;

desc tq84_table;

select * from tq84_table;

drop table tq84_table purge;
Github repository Oracle-Patterns, path: /DatabaseObjects/Tables/AlterTable/rename_column.sql
See also the SQL verb rename

move compress where

alter table xyz move
   compress
   including rows
   where
     trx_dt < date '2019-01-01';

See also

The Oracle object table.
Using dbms_metadata.get_dependent_ddl to obtain foreign keys as alter table statements.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1740464833, '13.58.99.179', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/SQL/statement/nouns/table/index(109): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78