/*
================================================================================
档案代号:nnu_file
档案名称:担保票券融资贷款档
档案目的:
上游档案:
下游档案:
============.========================.==========================================
*/
create table nnu_file
(
nnu01       varchar2(16) NOT NULL,   /*相关单号                               */
nnu02       number(5) NOT NULL,      /*行序                                   */
nnu03       varchar2(4),             /*票券类别                               */
nnu04       varchar2(80),            /*投资标的                               */
nnu05       varchar2(15),            /*票券号码                               */
nnu06       varchar2(80),            /*票券名称                               */
nnu07       number(5),               /*张数                                   */
nnu08       number(20,6),            /*票面金额                               */
nnu09       varchar2(1),             /*No Use                                 */
nnu10       varchar2(1)              /*No Use                                 */
);

create unique index nnu_pk on nnu_file (nnu01,nnu02);
alter table nnu_file add  constraint nnu_pk primary key  (nnu01,nnu02) enable validate;
grant select on nnu_file to public;
grant index on nnu_file to public;
grant update on nnu_file to public;
grant delete on nnu_file to public;
grant insert on nnu_file to public;