/*
================================================================================
档案代号:agd_file
档案名称:属性适用值资料主档
档案目的:记录多属性料件机制中定义的属性可选用值的资料
上游档案:
下游档案:
============.========================.==========================================
*/
create table agd_file
(
agd01       varchar2(10) NOT NULL,   /*属性代码                               */
agd02       varchar2(20) NOT NULL,   /*属性值                                 */
agd03       varchar2(80) NOT NULL    /*描述说明                               */
);

create unique index agd_pk on agd_file (agd01,agd02);
alter table agd_file add  constraint agd_pk primary key  (agd01,agd02) enable validate;
grant select on agd_file to public;
grant index on agd_file to public;
grant update on agd_file to public;
grant delete on agd_file to public;
grant insert on agd_file to public;