/*
================================================================================
档案代号:cpk_file
档案名称:员工职称资料
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table cpk_file
(
cpk01       varchar2(10) NOT NULL,   /*职称代码                               */
cpk02       varchar2(80),            /*标准职称                               */
cpk03       number(10),              /*No Use                                 */
cpkacti     varchar2(1),             /*资料有效否                             */
cpkuser     varchar2(10),            /*资料所有者                             */
cpkgrup     varchar2(10),            /*资料所有群                             */
cpkmodu     varchar2(10),            /*资料更改者                             */
cpkdate     date                     /*最近修改日                             */
);

create unique index cpk_pk on cpk_file (cpk01);
alter table cpk_file add  constraint cpk_pk primary key  (cpk01) enable validate;
grant select on cpk_file to public;
grant index on cpk_file to public;
grant update on cpk_file to public;
grant delete on cpk_file to public;
grant insert on cpk_file to public;