1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
|
CREATE TABLE IFTMAFDSOC
(
CTRUBT CHAR(1 CHAR),
CORUBT CHAR(5 CHAR),
COSTOK CHAR(5 CHAR),
COVALI NUMBER(10) NOT NULL,
COUNQS CHAR(3 CHAR),
COCLTC NUMBER(15) NOT NULL,
CESOLD CHAR(3 CHAR),
QTSTIT NUMBER,
DASTIT DATE NOT NULL,
CESITS CHAR(13 CHAR),
CESIT1 CHAR(2 CHAR),
CESIT2 CHAR(2 CHAR),
CESIT3 CHAR(2 CHAR),
CESIT4 CHAR(2 CHAR),
CESIT5 CHAR(2 CHAR),
CESIT6 CHAR(2 CHAR),
CESIT7 CHAR(2 CHAR),
CESIT8 CHAR(2 CHAR),
COAFFI CHAR(8 CHAR),
DFARR DATE NOT NULL,
CTDEPT CHAR(3 CHAR),
CTFORT CHAR(1 CHAR),
CONATS CHAR(3 CHAR),
CTUSAS CHAR(2 CHAR),
CORUB2 CHAR(5 CHAR),
CORTIT VARCHAR2(25 CHAR),
COEXST CHAR(7 CHAR),
CTCPTN CHAR(3 CHAR),
LIINC1 VARCHAR2(35 CHAR),
CVALDE CHAR(7 CHAR),
LIINCP VARCHAR2(35 CHAR),
COSES2 CHAR(1 CHAR),
CONSIC CHAR(6 CHAR),
CODPOT CHAR(8 CHAR),
COIDET CHAR(16 CHAR),
COICTP CHAR(8 CHAR),
CTSOLE CHAR(1 BYTE)
)
TABLESPACE IFTCA1
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 80K
MINEXTENTS 1
MAXEXTENTS 2147483645
PCTINCREASE 0
)
LOGGING
PARTITION BY RANGE (DFARR)
SUBPARTITION BY LIST (CTSOLE)
(
PARTITION P_20080321 VALUES LESS THAN (TO_DATE(' 2008-03-22 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
TABLESPACE IFTCA1
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 80K
MINEXTENTS 1
MAXEXTENTS 2147483645
PCTINCREASE 0
BUFFER_POOL DEFAULT
)
( SUBPARTITION P_20080321_Q VALUES ('Q') TABLESPACE IFTCA1 ),
PARTITION P_20080325 VALUES LESS THAN (TO_DATE(' 2008-03-26 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
TABLESPACE IFTCA1
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 80K
MINEXTENTS 1
MAXEXTENTS 2147483645
PCTINCREASE 0
BUFFER_POOL DEFAULT
)
( SUBPARTITION P_20080325_Q VALUES ('Q') TABLESPACE IFTCA1 ),
PARTITION P_20080326 VALUES LESS THAN (TO_DATE(' 2008-03-27 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
NOLOGGING
TABLESPACE IFTCA1
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 80K
MINEXTENTS 1
MAXEXTENTS 2147483645
PCTINCREASE 0
BUFFER_POOL DEFAULT
)
( SUBPARTITION P_20080326_Q VALUES ('Q') TABLESPACE IFTCA1 )
)
NOCACHE
PARALLEL ( DEGREE DEFAULT INSTANCES DEFAULT )
MONITORING;
CREATE UNIQUE INDEX IFTXAFDSOC_PK ON IFTMAFDSOC
(CTSOLE, DFARR, COCLTC, COVALI, CESIT1,
CESIT2, CESIT3, CESIT4, CESIT5, CESIT6,
CESIT7, CESIT8, CESITS, CORTIT)
TABLESPACE IFTXA1
INITRANS 2
MAXTRANS 255
LOCAL (
PARTITION P_20080321
NOLOGGING
TABLESPACE ????????
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
BUFFER_POOL DEFAULT
)
( SUBPARTITION P_20080321_Q VALUES ('Q') TABLESPACE ????????),
PARTITION P_20080325
NOLOGGING
TABLESPACE ????????
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
BUFFER_POOL DEFAULT
)
( SUBPARTITION P_20080325_Q VALUES ('Q') TABLESPACE ????????),
PARTITION P_20080326
NOLOGGING
TABLESPACE ????????
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
BUFFER_POOL DEFAULT
)
( SUBPARTITION P_20080326_Q VALUES ('Q') TABLESPACE ????????)
)
NOPARALLEL; |
Partager