/*
================================================================================
档案代号:obz_file
档案名称:车队资料档
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table obz_file
(
obz01       varchar2(6) NOT NULL,    /*车队编号                               */
obz02       varchar2(80),            /*说明                                   */
obz03       varchar2(20),            /*车队队长                               */
obz04       varchar2(40),            /*联络电话一                             */
obz05       varchar2(40),            /*联络电话二                             */
obzacti     varchar2(1),             /*资料有效码                             */
obzuser     varchar2(10),            /*资料所有者                             */
obzgrup     varchar2(10),            /*资料所有部门                           */
obzmodu     varchar2(10),            /*资料修改者                             */
obzdate     date                     /*最近修改日                             */
);

create unique index obz_pk on obz_file (obz01);
alter table obz_file add  constraint obz_pk primary key  (obz01) enable validate;
grant select on obz_file to public;
grant index on obz_file to public;
grant update on obz_file to public;
grant delete on obz_file to public;
grant insert on obz_file to public;