Typ het volgende en druk op Enter: QUITComplete Syntax een tabel Alter De volledige syntaxis van de SQL-instructie om een tafel te veranderen wordt hieronder gegeven; blik doorheen en lees de uitleg eronder: ALTER TABLE Syntax ALTER [ONLINE | OFFLINE] [NEGEREN] TAFEL tbl_name alter_specification [, alter_specification] ... alter_specification: table_options | ADD [COLUMN] col_name column_definition [FIRST | NA col_name] | ADD [COLUMN] (col_name column_definition, ...) | ADD {INDEX | KEY} [index_name] [index_type] (index_col_name, ...) [index_option] ...
| ADD [CONSTRAINT [symbool]] primaire sleutel [index_type] (index_col_name, ...) [index_option] ... | ADD [CONSTRAINT [symbool]] UNIQUE [INDEX | KEY] [index_name] [index_type] (index_col_name, ...) [index_option] ... | ADD FULLTEXT [INDEX | KEY] [index_name] (index_col_name, ...) [index_option] ... | ADD RUIMTELIJKE [INDEX | KEY] [index_name] (index_col_name, ...) [index_option] ... | ADD [CONSTRAINT [symbool]] BUITENLANDSE KEY [index_name] (index_col_name, ...
) reference_definition | ALTER [COLUMN] col_name {SET STANDAARD letterlijke | DROP DEFAULT} | CHANGE [COLUMN] old_col_name new_col_name column_definition [FIRST | NA col_name] | AANPASSEN [COLUMN] col_name column_definition [FIRST | NA col_name] | DROP [COLUMN] col_name | DROP PRIMARY KEY | DROP {INDEX | KEY} index_name | DROP BUITENLANDSE KEY fk_symbol | DISABLE KEYS | ENABLE KEYS | RENAME [TO] new_tbl_name | ORDER BY col_name [, col_name] ...
| Converteren naar TEKENSET charset_name [COLLATE collation_name] | [STANDAARD] TEKENSET [=] charset_name [Sorteren [=] collation_name] | DISCARD TABLESPACE | IMPORT TABLESPACE | partition_options | ADD PARTITION (partition_definition) | DROP PARTITION partition_names | COALESCE partitie nummer | REORGANISEREN PARTITION [partition_names IN (partition_definitions)] | ANALYSE PARTITION {partition_names | ALL} | BEKIJK PARTITION {partition_names | ALL} | O