--删除添加一个或多个字段
alter table jb add (sx varchar2(10), gb number(10), pr number(5,2))
--删除字段
alter table jb drop column gb--更改字段类型
alter table jb modify lrtb number(10,2)--修改表名
alter table tablename rename to new_table_name;
--添加注释
comment on column jb.jyfw is '经营范围';--添加字段
alter table runway_ts add
( HIGHEST_POINT_ID VARCHAR2(36),HIGHEST_POINT_POSITION VARCHAR2(100),HIGHEST_POINT_POSITION_AIP VARCHAR2(100));--添加约束
alter table RUNWAY_TS
add constraint "FK_POINT-RUNWAYTS" foreign key (HIGHEST_POINT_ID) references POINT (POINT_ID);--重命名列,数据不丢失
ALTER TABLE databack.apron_ts RENAME COLUMN airport_heliport2apron_ts to airport_heliport_uuid
--重命名约束
ALTER TABLE AIRPORT_HELIPORT_TS RENAME CONSTRAINT "FK_EXVERSION-AIRPORRTTS1371" TO FK_EXVERSION_EFF;