/*
================================================================================
档案代号:bgs_file
档案名称:费用项目档
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table bgs_file
(
bgs01       varchar2(6) NOT NULL,    /*费用项目代号                           */
bgs02       varchar2(80),            /*费用项目说明                           */
bgs03       varchar2(1),             /*计调否                                 */
bgsacti     varchar2(1),             /*资料有效码                             */
bgsuser     varchar2(10),            /*资料所有者                             */
bgsgrup     varchar2(10),            /*资料所有部门                           */
bgsmodu     varchar2(10),            /*资料修改者                             */
bgsdate     date                     /*最近修改日                             */
);

create unique index bgs_pk on bgs_file (bgs01);
alter table bgs_file add  constraint bgs_pk primary key  (bgs01) enable validate;
grant select on bgs_file to public;
grant index on bgs_file to public;
grant update on bgs_file to public;
grant delete on bgs_file to public;
grant insert on bgs_file to public;