/*
================================================================================
档案代号:imw_file
档案名称:细部品名明细档
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table imw_file
(
imw01       varchar2(10) NOT NULL,   /*细部品名码                             */
imw02       number(5) NOT NULL,      /*项次                                   */
imw03       varchar2(120)            /*细部品名                               */
);

create unique index imw_pk on imw_file (imw01,imw02);
alter table imw_file add  constraint imw_pk primary key  (imw01,imw02) enable validate;
grant select on imw_file to public;
grant index on imw_file to public;
grant update on imw_file to public;
grant delete on imw_file to public;
grant insert on imw_file to public;