/*
================================================================================
档案代号:gar_file
档案名称:讯息通知设定档
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table gar_file
(
gar01       varchar2(20) NOT NULL,   /*讯息编号                               */
                                     /*讯息编号(接收者+流水号)                */
gar02       varchar2(10),            /*讯息接收者                             */
gar03       varchar2(1000),          /*讯息                                   */
gar04       varchar2(10),            /*讯息发送者                             */
gar05       date,                    /*讯息产生日期时间                       */
gar06       varchar2(1)              /*是否已发送                             */
);

create unique index gar_pk on gar_file (gar01);
alter table gar_file add  constraint gar_pk primary key  (gar01) enable validate;
grant select on gar_file to public;
grant index on gar_file to public;
grant update on gar_file to public;
grant delete on gar_file to public;
grant insert on gar_file to public;