- 最后登录
- 2014-8-8
- 在线时间
- 4 小时
- 威望
- 0
- 金钱
- 32
- 注册时间
- 2012-12-11
- 阅读权限
- 10
- 帖子
- 10
- 精华
- 0
- 积分
- 0
- UID
- 807
|
5#
发表于 2013-4-3 16:06:39
CREATE TABLE "OCS"."OCS_VOICE_TICKET"
( "EVENT_ID" NUMBER(16,0) NOT NULL ENABLE,
"FILE_ID" NUMBER(16,0),
"PROCESS_ID" NUMBER(9,0),
"EVENT_TYPE_ID" NUMBER(9,0),
"START_DATE" DATE NOT NULL ENABLE,
"CREATED_DATE" DATE,
"SESSIONTERMINATEDTIME" DATE,
"SERVICESCENARIOUS" NUMBER(9,0),
"SESSION_ID" VARCHAR2(100),
"SERV_ID" NUMBER(16,0),
"BILLING_CYCLE_ID" NUMBER(9,0),
"BILLING_AREA_CODE" VARCHAR2(10),
"BILLING_NBR" VARCHAR2(32),
"BILLING_VISIT_AREA_CODE" VARCHAR2(10),
"CALLTYPEID" NUMBER(1,0),
"ORG_CALLING_NBR" VARCHAR2(32),
"CALLING_AREA_CODE" VARCHAR2(10),
"CALLING_NBR" VARCHAR2(32),
"CALLING_LAI" VARCHAR2(20),
"CALLING_SP_TYPE_ID" NUMBER(9,0),
"CALLINGPARTYCELLID" VARCHAR2(20),
"CALLINGPARTYVLR" VARCHAR2(20),
"CALLINGPARTYHLR" VARCHAR2(20),
"CALLINGPARTYLOCATIONPRVOCINCE" VARCHAR2(6),
"CALLINGPARTYVISITEDCITY" VARCHAR2(10),
"CALLINGGROUPID" VARCHAR2(20),
"ORG_CALLED_NBR" VARCHAR2(32),
"CALLED_AREA_CODE" VARCHAR2(10),
"CALLED_NBR" VARCHAR2(32),
"CALLED_SP_TYPE_ID" NUMBER(9,0),
"CALLEDPARTYCELLID" VARCHAR2(20),
"CALLEDPARTYVLR" VARCHAR2(20),
"CALLEDPARTYHLR" VARCHAR2(20),
"CALLEDPARTYLOCATIONPRVOCINCE" VARCHAR2(6),
"CALLEDPARTYVISITEDCITY" VARCHAR2(10),
"CALLEDGROUPID" VARCHAR2(20),
"FORWARDINGFLAG" VARCHAR2(2),
"FOWARDINGNUMBER" VARCHAR2(20),
"THIRD_PARTY_AREA_CODE" VARCHAR2(10),
"THIRD_PARTY_NBR" VARCHAR2(32),
"TERMINATEDCAUSE" NUMBER(9,0),
"ORIGNIALHOST" VARCHAR2(64),
"BALANCEINFO" VARCHAR2(512),
"ACCUMLATORINFO" VARCHAR2(512),
"TARIFFINFO" VARCHAR2(512),
"ACCT_ITEM_TYPE_ID1" NUMBER(9,0),
"ACCT_ITEM_TYPE_ID2" NUMBER(9,0),
"ACCT_ITEM_TYPE_ID3" NUMBER(9,0),
"CCR_NUM" NUMBER(9,0),
"CHARGE1" NUMBER(9,0),
"CHARGE2" NUMBER(9,0),
"CHARGE3" NUMBER(9,0),
"PAYFLAG" NUMBER(1,0),
"CHARGE_PRESENT_MONEY" NUMBER(9,0) DEFAULT 0,
"LAC" VARCHAR2(20),
"MSC_ADDRESS" VARCHAR2(20),
"CELLID" VARCHAR2(20),
"IMSI" VARCHAR2(15),
"DURATION" NUMBER(9,0),
"BEARERCAPABILITY" VARCHAR2(8),
"LONGDISTANCETYPE" VARCHAR2(2),
"ROAMINGTYPE" VARCHAR2(2),
"CARRIERTYPEID" NUMBER(9,0),
"VIOCECHARGINGMODE" NUMBER(1,0),
"NETWORKID" NUMBER(9,0),
"CUST_ID" NUMBER(16,0),
"BRAND" NUMBER(9,0),
"OFFER_ID1" NUMBER(9,0),
"OFFER_ID2" NUMBER(9,0),
"HOSTID" VARCHAR2(64),
"SWITCH_ID" NUMBER(9,0),
"MASTERPRODUCTID" VARCHAR2(20),
"REDO_FLAG" VARCHAR2(2) DEFAULT 0,
"EVENTATTR" VARCHAR2(20) DEFAULT '000',
"MM" NUMBER(2,0) NOT NULL ENABLE,
CONSTRAINT "PK_OCS_VOICE_TICKET_N" PRIMARY KEY ("EVENT_ID", "MM")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT) LOCAL
(PARTITION "P01"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA01_INDEX" ,
PARTITION "P02"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA02_INDEX" ,
PARTITION "P03"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA03_INDEX" ,
PARTITION "P04"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA04_INDEX" ,
PARTITION "P05"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA05_INDEX" ,
PARTITION "P06"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA06_INDEX" ,
PARTITION "P07"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA01_INDEX" ,
PARTITION "P08"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA02_INDEX" ,
PARTITION "P09"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA03_INDEX" ,
PARTITION "P10"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA04_INDEX" ,
PARTITION "P11"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA05_INDEX" ,
PARTITION "P12"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA06_INDEX" ) ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT)
TABLESPACE "OCS_TBS"
PARTITION BY RANGE ("MM")
(PARTITION "P01" VALUES LESS THAN (2)
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA01_TBS" NOCOMPRESS ,
PARTITION "P02" VALUES LESS THAN (3)
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA02_TBS" NOCOMPRESS ,
PARTITION "P03" VALUES LESS THAN (4)
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA03_TBS" NOCOMPRESS ,
PARTITION "P04" VALUES LESS THAN (5)
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA04_TBS" NOCOMPRESS ,
PARTITION "P05" VALUES LESS THAN (6)
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA05_TBS" NOCOMPRESS ,
PARTITION "P06" VALUES LESS THAN (7)
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA06_TBS" NOCOMPRESS ,
PARTITION "P07" VALUES LESS THAN (8)
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA01_TBS" NOCOMPRESS ,
PARTITION "P08" VALUES LESS THAN (9)
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA02_TBS" NOCOMPRESS ,
PARTITION "P09" VALUES LESS THAN (10)
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA03_TBS" NOCOMPRESS ,
PARTITION "P10" VALUES LESS THAN (11)
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA04_TBS" NOCOMPRESS ,
PARTITION "P11" VALUES LESS THAN (12)
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA05_TBS" NOCOMPRESS ,
PARTITION "P12" VALUES LESS THAN (MAXVALUE)
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(INITIAL 1048576 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "TICKET_DATA06_TBS" NOCOMPRESS )
|
|