/*
================================================================================
档案代号:cpx_file
档案名称:绩效等级奖金资料档
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table cpx_file
(
cpx01       number(15,3) NOT NULL,   /*分数下限                               */
cpx02       number(15,3) NOT NULL,   /*分数上限                               */
cpx03       number(20,6),            /*绩效奖金                               */
                                     /*绩效奖金          #modify 030314 NO.A066*/
cpxacti     varchar2(1),             /*资料有效否                             */
cpxuser     varchar2(10),            /*资料所有者                             */
cpxgrup     varchar2(10),            /*资料所有群                             */
cpxmodu     varchar2(10),            /*资料更改者                             */
cpxdate     date                     /*最近修改日                             */
);

create unique index cpx_pk on cpx_file (cpx01,cpx02);
alter table cpx_file add  constraint cpx_pk primary key  (cpx01,cpx02) enable validate;
grant select on cpx_file to public;
grant index on cpx_file to public;
grant update on cpx_file to public;
grant delete on cpx_file to public;
grant insert on cpx_file to public;