/*
================================================================================
档案代号:obn_file
档案名称:运输途径单头档
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table obn_file
(
obn01       varchar2(6) NOT NULL,    /*运输途径编号                           */
obn02       varchar2(80),            /*说明                                   */
obn03       varchar2(10),            /*运输方式代码                           */
obn04       varchar2(10),            /*起始地点                               */
obn05       varchar2(10),            /*目的地点                               */
obnacti     varchar2(1),             /*有效否                                 */
obnuser     varchar2(10),            /*建档人员                               */
obngrup     varchar2(10),            /*建档部门                               */
obnmodu     varchar2(10),            /*最后修改人员                           */
obndate     date                     /*最后修改日期                           */
);

create unique index obn_pk on obn_file (obn01);
alter table obn_file add  constraint obn_pk primary key  (obn01) enable validate;
grant select on obn_file to public;
grant index on obn_file to public;
grant update on obn_file to public;
grant delete on obn_file to public;
grant insert on obn_file to public;