/*
================================================================================
档案代号:aad_file
档案名称:常用摘要名称档
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table aad_file
(
aad01       varchar2(4) NOT NULL,    /*常用摘要编号                           */
aad02       varchar2(80),            /*常用摘要                               */
aadacti     varchar2(1),             /*资料有效码                             */
                                     /*系统维护                               */
aaduser     varchar2(10),            /*资料所有者                             */
                                     /*系统维护                               */
aadgrup     varchar2(10),            /*资料所有群                             */
                                     /*系统维护                               */
aadmodu     varchar2(10),            /*资料更改者                             */
                                     /*系统维护                               */
aaddate     date                     /*最近修改日                             */
                                     /*系统维护                               */
);

create unique index aad_pk on aad_file (aad01);
alter table aad_file add  constraint aad_pk primary key  (aad01) enable validate;
grant select on aad_file to public;
grant index on aad_file to public;
grant update on aad_file to public;
grant delete on aad_file to public;
grant insert on aad_file to public;