/* ================================================================================ 档案代号:vam_file 档案名称:aps品项途程 档案目的: 上游档案: 下游档案: ============.========================.========================================== */ create table vam_file ( vam01 varchar2(40) DEFAULT '' NOT NULL, /*料号*/ vam02 varchar2(10) DEFAULT '' NOT NULL, /*途程编号*/ vam03 number(9), /*途程序号 */ vam04 number(18,8), /*理想周期时间因子 */ vam05 date, /*生效日 */ vam06 date, /*失效日 */ vam07 number(1) /*是否为替代途程 */ ); create unique index vam_pk on vam_file (vam01,vam02); alter table vam_file add constraint vam_pk primary key (vam01,vam02) enable validate; grant select on vam_file to public; grant index on vam_file to public; grant update on vam_file to public; grant delete on vam_file to public; grant insert on vam_file to public; |