1、修改列
- alter table DOORINFO add (AREADER VARCHAR2(200) );
- update DOORINFO o set AREADER=AREADERID;
- alter table DOORINFO drop column AREADERID;
- ALTER TABLE DOORINFO RENAME COLUMN AREADER TO AREADERID ; //修改列名
- ALTER TABLE DOORINFO MODIFY AREADERID not null;
- comment on column DOORINFO.areaderid
- is 'A基站ID(从A到B为进入)用半角逗号分割';
转载于:https://blog.51cto.com/shuimomo/831570