/* ================================================================================ 档案代号:skl_file 档案名称:报工群组资料档 档案目的:报工群组资料单头档 上游档案: 下游档案: ============.========================.========================================== */ create table skl_file ( skl01 varchar2(10) DEFAULT '' NOT NULL, /*群组编号*/ skl02 varchar2(80) DEFAULT '' NOT NULL, /*群组名称*/ skl03 varchar2(40) DEFAULT '' NOT NULL, /*款式料号*/ skl04 varchar2(1) DEFAULT '' NOT NULL, /*审核码*/ sklacti varchar2(1), /*资料有效码 */ skldate date, /*资料有效码 */ sklgrup varchar2(10), /*资料所属群组 */ sklmodu varchar2(10), /*资料修改者 */ skluser varchar2(10) /*资料使用者 */ ); create unique index skl_pk on skl_file (skl01,skl03); alter table skl_file add constraint skl_pk primary key (skl01,skl03) enable validate; grant select on skl_file to public; grant index on skl_file to public; grant update on skl_file to public; grant delete on skl_file to public; grant insert on skl_file to public; |