/* ================================================================================ 档案代号:bzi_file 档案名称:保税机器设备外送单身档 档案目的: 上游档案: 下游档案: ============.========================.========================================== */ create table bzi_file ( bzi01 varchar2(16) NOT NULL, /*外送单号 */ bzi02 number(5) NOT NULL, /*项次 */ bzi03 varchar2(20), /*机器设备编号 */ bzi04 number(5), /*序号 */ bzi05 number(15,3), /*外送数量 */ bzi06 varchar2(20), /*外送地点 */ bzi07 date, /*预计收回日 */ bzi08 number(15,3), /*已收回数量 */ bzi09 varchar2(255), /*备注 */ bzi10 varchar2(1), /*No Use */ bziud01 varchar2(255), /*自订栏位-Textedit */ bziud02 varchar2(40), /*自订栏位-文字 */ bziud03 varchar2(40), /*自订栏位-文字 */ bziud04 varchar2(40), /*自订栏位-文字 */ bziud05 varchar2(40), /*自订栏位-文字 */ bziud06 varchar2(40), /*自订栏位-文字 */ bziud07 number(15,3), /*自订栏位-数值 */ bziud08 number(15,3), /*自订栏位-数值 */ bziud09 number(15,3), /*自订栏位-数值 */ bziud10 number(10), /*自订栏位-整数 */ bziud11 number(10), /*自订栏位-整数 */ bziud12 number(10), /*自订栏位-整数 */ bziud13 date, /*自订栏位-日期 */ bziud14 date, /*自订栏位-日期 */ bziud15 date /*自订栏位-日期 */ ); create unique index bzi_pk on bzi_file (bzi01,bzi02); alter table bzi_file add constraint bzi_pk primary key (bzi01,bzi02) enable validate; grant select on bzi_file to public; grant index on bzi_file to public; grant update on bzi_file to public; grant delete on bzi_file to public; grant insert on bzi_file to public; |