/* ================================================================================ 档案代号:pjr_file 档案名称:wbs/活动分类档 档案目的: 上游档案: 下游档案: ============.========================.========================================== */ create table pjr_file ( pjr00 varchar2(1) NOT NULL, /*类型 */ pjr01 varchar2(4) NOT NULL, /*类别代号 */ pjr02 varchar2(80), /*类别名称 */ pjracti varchar2(1), /*有效 */ pjrdate date, /*最近修改日 */ pjrgrup varchar2(10), /*资料所有部门 */ pjrmodu varchar2(10), /*资料修改者 */ pjruser varchar2(10) /*资料所有者 */ ); create unique index pjr_pk on pjr_file (pjr00,pjr01); alter table pjr_file add constraint pjr_pk primary key (pjr00,pjr01) enable validate; grant select on pjr_file to public; grant index on pjr_file to public; grant update on pjr_file to public; grant delete on pjr_file to public; grant insert on pjr_file to public; |