/*
================================================================================
档案代号:vio_file
档案名称:vip类种单身档--for记录积分使用规则
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table vio_file
(
vio01       varchar2(10) NOT NULL,   /*VIP种类编号                            */
vio02       number(5) NOT NULL,      /*项次                                   */
vio03       varchar2(10),            /*积分使用规则编码                       */
vioacti     varchar2(1)              /*资料有效码                             */
);

create unique index vio_pk on vio_file (vio01,vio02);
alter table vio_file add  constraint vio_pk primary key  (vio01,vio02) enable validate;
grant select on vio_file to public;
grant index on vio_file to public;
grant update on vio_file to public;
grant delete on vio_file to public;
grant insert on vio_file to public;