/* ================================================================================ 档案代号:oqv_file 档案名称:报价单-分量计价资料档 档案目的: 上游档案: 下游档案: ============.========================.========================================== */ create table oqv_file ( oqv01 varchar2(16) NOT NULL, /*报价单号 */ oqv02 number(5) NOT NULL, /*项次 */ oqv03 number(15,3) NOT NULL, /*启始数量 */ oqv04 number(15,3) NOT NULL, /*截止数量 */ oqv05 number(20,6) /*单价 */ ); create unique index oqv_pk on oqv_file (oqv01,oqv02,oqv03,oqv04); alter table oqv_file add constraint oqv_pk primary key (oqv01,oqv02,oqv03,oqv04) enable validate; grant select on oqv_file to public; grant index on oqv_file to public; grant update on oqv_file to public; grant delete on oqv_file to public; grant insert on oqv_file to public; |