/*
================================================================================
档案代号:zf_file
档案名称:程式结构关连档
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table zf_file
(
zf01        varchar2(20) NOT NULL,   /*主程式编号                             */
zf02        number(5) NOT NULL,      /*项次                                   */
zf03        varchar2(20)             /*副程式编号                             */
);

create unique index zf_02 on zf_file (zf01,zf03);
create unique index zf_pk on zf_file (zf01,zf02);
alter table zf_file add  constraint zf_pk primary key  (zf01,zf02) enable validate;
grant select on zf_file to public;
grant index on zf_file to public;
grant update on zf_file to public;
grant delete on zf_file to public;
grant insert on zf_file to public;