/*
================================================================================
档案代号:cpn_file
档案名称:团体保险投保金额分级资料
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table cpn_file
(
cpn01       varchar2(8) NOT NULL,    /*投保等级                               */
cpn02       number(20,6),            /*投保金额之下限                         */
                                     /*投保金额之下限    #modify 030314 NO.A066*/
cpn03       number(20,6),            /*投保金额之上限                         */
                                     /*投保金额之上限    #modify 030314 NO.A066*/
cpn04       number(20,6),            /*保险金额                               */
                                     /*保险金额          #modify 030314 NO.A066*/
cpn05       varchar2(1),             /*No Use                                 */
cpnacti     varchar2(1),             /*资料有效否                             */
cpnuser     varchar2(10),            /*资料所有者                             */
                                     /*系统维护                               */
cpngrup     varchar2(10),            /*资料所有群                             */
                                     /*系统维护                               */
cpnmodu     varchar2(10),            /*资料更改者                             */
                                     /*系统维护                               */
cpndate     date                     /*最近修改日                             */
                                     /*系统维护                               */
);

create unique index cpn_pk on cpn_file (cpn01);
alter table cpn_file add  constraint cpn_pk primary key  (cpn01) enable validate;
grant select on cpn_file to public;
grant index on cpn_file to public;
grant update on cpn_file to public;
grant delete on cpn_file to public;
grant insert on cpn_file to public;