/*
================================================================================
档案代号:gfd_file
档案名称:客户开发记录 (资料同步清单)
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table gfd_file
(
gfd01       varchar2(16) NOT NULL,   /*开发单号                               */
gfd02       number(5) NOT NULL,      /*项次                                   */
gfd03       varchar2(1),             /*动作                                   */
gfd04       varchar2(1),             /*档案代号                               */
gfd05       varchar2(15),            /*档案编号                               */
gfd06       varchar2(80),            /*key栏位的值1                           */
gfd07       varchar2(80)             /*key栏位的值2                           */
);

create unique index gfd_pk on gfd_file (gfd01,gfd02);
alter table gfd_file add  constraint gfd_pk primary key  (gfd01,gfd02) enable validate;
grant select on gfd_file to public;
grant index on gfd_file to public;
grant update on gfd_file to public;
grant delete on gfd_file to public;
grant insert on gfd_file to public;