/* ================================================================================ 档案代号:obo_file 档案名称:运输途径单身档 档案目的: 上游档案: 下游档案: ============.========================.========================================== */ create table obo_file ( obo01 varchar2(16) NOT NULL, /*运输途径编号 */ obo02 number(5) NOT NULL, /*运输步骤 */ obo03 varchar2(1), /*运输性质 */ obo04 varchar2(1), /*运输方式 */ obo05 varchar2(10), /*始起运输地点 */ obo06 varchar2(10), /*目的运输地点 */ obo07 number(15,3) /*耗用天数 */ ); create unique index obo_pk on obo_file (obo01,obo02); alter table obo_file add constraint obo_pk primary key (obo01,obo02) enable validate; grant select on obo_file to public; grant index on obo_file to public; grant update on obo_file to public; grant delete on obo_file to public; grant insert on obo_file to public; |