--加列 alter table aa add(col1 varchar2(20),col2 nvarchar2(100)); --加注释 COMMENT ON COLUMN aa.t IS ‘学员编号‘; COMMENT ON COLUMN aa.s IS ‘会员编号‘; --删除列 ALTER TABLE aa DROP COLUMN t;
时间: 2024-11-13 08:37:37
--加列 alter table aa add(col1 varchar2(20),col2 nvarchar2(100)); --加注释 COMMENT ON COLUMN aa.t IS ‘学员编号‘; COMMENT ON COLUMN aa.s IS ‘会员编号‘; --删除列 ALTER TABLE aa DROP COLUMN t;