/*
================================================================================
档案代号:fka_file
档案名称:设备基本资料档
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table fka_file
(
fka01       varchar2(10) NOT NULL,   /*存放位置                               */
fka02       varchar2(80),            /*位置名称                               */
fka03       varchar2(10) NOT NULL,   /*存放营运中心                           */
fka40       varchar2(1),             /*No Use                                 */
fka41       varchar2(1),             /*No Use                                 */
fka42       varchar2(1),             /*No Use                                 */
fka43       varchar2(1),             /*No Use                                 */
fkaacti     varchar2(1)              /*有效码                                 */
);

create unique index fka_pk on fka_file (fka01,fka03);
alter table fka_file add  constraint fka_pk primary key  (fka01,fka03) enable validate;
grant select on fka_file to public;
grant index on fka_file to public;
grant update on fka_file to public;
grant delete on fka_file to public;
grant insert on fka_file to public;