/*
================================================================================
档案代号:oak_file
档案名称:留置/理由档
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table oak_file
(
oak01       varchar2(4) NOT NULL,    /*留置/理由码                            */
oak02       varchar2(80),            /*说明                                   */
oak03       varchar2(1)              /*1.留置码  2.理由码                     */
);

create unique index oak_pk on oak_file (oak01);
alter table oak_file add  constraint oak_pk primary key  (oak01) enable validate;
grant select on oak_file to public;
grant index on oak_file to public;
grant update on oak_file to public;
grant delete on oak_file to public;
grant insert on oak_file to public;