/* ================================================================================ 档案代号:obp_file 档案名称:单位运费数据文件 档案目的: 上游档案: 下游档案: ============.========================.========================================== */ create table obp_file ( obp01 varchar2(10) NOT NULL, /*运输方式代码 */ obp02 varchar2(10) NOT NULL, /*始起运输地点 */ obp03 varchar2(10) NOT NULL, /*目的运输地点 */ obp04 number(15,3), /*耗用天数 */ obp05 varchar2(4), /*币别 */ obp06 number(20,6), /*单位运费 */ obp07 number(20,6), /*单位运费(退回) */ obpacti varchar2(1), /*资料有效码 */ obpuser varchar2(10), /*资料所有者 */ obpgrup varchar2(10), /*资料所有部门 */ obpmodu varchar2(10), /*资料修改者 */ obpdate date /*最近修改日 */ ); create unique index obp_pk on obp_file (obp01,obp02,obp03); alter table obp_file add constraint obp_pk primary key (obp01,obp02,obp03) enable validate; grant select on obp_file to public; grant index on obp_file to public; grant update on obp_file to public; grant delete on obp_file to public; grant insert on obp_file to public; |