/* ================================================================================ 档案代号:bog_file 档案名称:固定属性变更档 档案目的:固定属性变更单头档 上游档案: 下游档案: ============.========================.========================================== */ create table bog_file ( bog01 varchar2(16) DEFAULT '' NOT NULL, /*变更单号*/ bog02 date DEFAULT sysdate NOT NULL, /*变更日期*/ bog03 varchar2(1) DEFAULT '' NOT NULL, /*审核码 y-已审核 n-未审核 x-作 */ bog04 varchar2(1) DEFAULT '' NOT NULL, /*发放码 y-发放,n-未发放*/ bog05 date, /*发放日期 */ bog06 varchar2(80), /*备注 */ bogacti varchar2(1), /*资料有效码 */ bogdate date, /*资料修改日期 */ boggrup varchar2(10), /*资料所属群组 */ bogmodu varchar2(10), /*资料修改者 */ boguser varchar2(10) /*资料所有者 */ ); create unique index bog_pk on bog_file (bog01); alter table bog_file add constraint bog_pk primary key (bog01) enable validate; grant select on bog_file to public; grant index on bog_file to public; grant update on bog_file to public; grant delete on bog_file to public; grant insert on bog_file to public; |