oracle database definition language DDL

Construction of the table statement:

create table table name (type name field, the type field name);

Delete the table:

drop table 表名;

Modify the table:

alter table add Field Name Type table;

Modify the field:

alter table table name modify (Field Name Type);

Rename fields:

alter table table name rename column name to field new field name;

Rename the table  :

rename the table name to the new table name;

Delete field:

ALTER Table table  drop column field names;

Guess you like

Origin www.cnblogs.com/huifeidexiaoji6/p/11165760.html