- 最后登录
- 2021-1-29
- 在线时间
- 37 小时
- 威望
- 5
- 金钱
- 166
- 注册时间
- 2012-12-28
- 阅读权限
- 10
- 帖子
- 99
- 精华
- 0
- 积分
- 5
- UID
- 846
|
10#
发表于 2013-1-30 17:34:01
- CREATE TABLE "ZHIXING"."TB_CASE_INFOR"
- ( "ID" NUMBER(10,0) NOT NULL ENABLE,
- "COURT_ID" NUMBER(6,0) DEFAULT 0 NOT NULL ENABLE,
- "CASE_CODE" VARCHAR2(40) NOT NULL ENABLE,
- "ROOT_ID" VARCHAR2(40),
- "DEPART_ID" NUMBER(6,0),
- "CASE_KIND_ID" NUMBER(6,0),
- "CASE_SRC_ID" NUMBER(6,0),
- "PARENT_COURT" VARCHAR2(80),
- "PARENT_CASE_CODE" VARCHAR2(40),
- "REG_DATE" DATE,
- "EXEC_INCEPT_DATE" DATE,
- "CAUSE_ID" NUMBER(9,0),
- "GIST_ID" NUMBER(6,0),
- "GIST_UNIT" VARCHAR2(80),
- "GIST_CID" VARCHAR2(200),
- "GIST_CONTENT" CLOB,
- "GIST_DATE" DATE,
- "GIST_TERM" VARCHAR2(80),
- "FOREIGN_FACTOR_ID" NUMBER(6,0),
- "KIND_CAUSE_ID" NUMBER(10,0),
- "APPLY_MONEY" NUMBER(16,2) DEFAULT 0.00,
- "APPLY_RES" CLOB,
- "APPLY_ACTION" CLOB,
- "APPLY_RIGHTS" CLOB,
- "WILL_EXPENSE" NUMBER(16,2) DEFAULT 0.00 NOT NULL ENABLE,
- "CASE_STATE_ID" NUMBER(6,0),
- "DEFER_BEGIN_DATE" DATE,
- "DEFER_END_DATE" DATE,
- "DEFER_DAYS" NUMBER(6,0) DEFAULT 0 NOT NULL ENABLE,
- "MATURITY_DATE" DATE NOT NULL ENABLE,
- "DEFER_CAUSE_ID" NUMBER(6,0),
- "AUTO_EXEC_MONEY" NUMBER(16,2) DEFAULT 0.00 NOT NULL ENABLE,
- "EXECED_MONEY" NUMBER(16,2) DEFAULT 0.00 NOT NULL ENABLE,
- "EXECED_RES" CLOB,
- "EXECED_ACTION" CLOB,
- "CREATER_ID" NUMBER(6,0) NOT NULL ENABLE,
- "CREATE_TIME" DATE,
- "STATE_END_DATE" DATE,
- "STATE_UPDATE_TIME" DATE,
- "LAST_UPDATE_TIME" DATE,
- "REMARK" VARCHAR2(240),
- "IS_DELETED" NUMBER(1,0) DEFAULT 0,
- "EXECED_RIGHTS" CLOB,
- "IS_REPORT" NUMBER(1,0) DEFAULT 1,
- CONSTRAINT "PK_CASE_INFOR" PRIMARY KEY ("ID")
- USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
- STORAGE(INITIAL 67108864 NEXT 67108864 MINEXTENTS 1 MAXEXTENTS 2147483645
- PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
- TABLESPACE "TS_INDEX_CASE" ENABLE,
- CONSTRAINT "FK_CASE_SRC_REF_PARA" FOREIGN KEY ("CASE_SRC_ID")
- REFERENCES "ZHIXING"."TB_PARA_CODE" ("ID") ENABLE,
- CONSTRAINT "FK_CASE_STATUE_REF_PARA" FOREIGN KEY ("CASE_STATE_ID")
- REFERENCES "ZHIXING"."TB_PARA_CODE" ("ID") ENABLE,
- CONSTRAINT "FK_CASEINFO_REF_KINDCAUSE" FOREIGN KEY ("KIND_CAUSE_ID")
- REFERENCES "ZHIXING"."TB_PARA_CASE_KIND_CAUSE" ("ID") ENABLE,
- CONSTRAINT "FK_CASE_CREATOR_REF_UNDERTAKER" FOREIGN KEY ("CREATER_ID")
- REFERENCES "ZHIXING"."TB_ORG_UNDERTAKER" ("ID") ENABLE,
- CONSTRAINT "FK_CASE_DEFER_REF_CAUSE" FOREIGN KEY ("DEFER_CAUSE_ID")
- REFERENCES "ZHIXING"."TB_PARA_CAUSE" ("ID") ENABLE,
- CONSTRAINT "FK_CASE_FOREIGN_REF_PARA" FOREIGN KEY ("FOREIGN_FACTOR_ID")
- REFERENCES "ZHIXING"."TB_PARA_CODE" ("ID") ENABLE,
- CONSTRAINT "FK_CASE_GIST_REF_PARA" FOREIGN KEY ("GIST_ID")
- REFERENCES "ZHIXING"."TB_PARA_CODE" ("ID") ENABLE,
- CONSTRAINT "FK_CASE_KIND_REF_CASEKIND" FOREIGN KEY ("CASE_KIND_ID")
- REFERENCES "ZHIXING"."TB_PARA_CASE_KIND" ("ID") ENABLE,
- CONSTRAINT "FK_CASE_KIND_REF_PARA" FOREIGN KEY ("CASE_KIND_ID")
- REFERENCES "ZHIXING"."TB_PARA_CODE" ("ID") DISABLE,
- CONSTRAINT "FK_CASE_REF_CAUSE" FOREIGN KEY ("CAUSE_ID")
- REFERENCES "ZHIXING"."TB_PARA_CASE_CAUSE" ("ID") ENABLE,
- CONSTRAINT "FK_CASE_REF_COURT" FOREIGN KEY ("COURT_ID")
- REFERENCES "ZHIXING"."TB_ORG_COURT" ("ID") ENABLE,
- CONSTRAINT "FK_CASE_REF_DEPART" FOREIGN KEY ("DEPART_ID")
- REFERENCES "ZHIXING"."TB_ORG_DEPART" ("ID") ENABLE
- ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
- STORAGE(INITIAL 536870912 NEXT 536870912 MINEXTENTS 2
- PCTINCREASE 0
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
- TABLESPACE "TS_CASE_DATA"
- LOB ("GIST_CONTENT") STORE AS BASICFILE (
- ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT))
- LOB ("APPLY_RES") STORE AS BASICFILE (
- ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT))
- LOB ("APPLY_ACTION") STORE AS BASICFILE (
- ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT))
- LOB ("APPLY_RIGHTS") STORE AS BASICFILE (
- ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT))
- LOB ("EXECED_RES") STORE AS BASICFILE (
- ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT))
- LOB ("EXECED_ACTION") STORE AS BASICFILE (
- ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT))
- LOB ("EXECED_RIGHTS") STORE AS BASICFILE (
- ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT))
- PARTITION BY RANGE ("REG_DATE") INTERVAL (NUMTOYMINTERVAL(12,'MONTH'))
- (PARTITION "P2006" VALUES LESS THAN (TO_DATE(' 2007-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN')) SEGMENT CREATION IMMEDIATE
- PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
- NOCOMPRESS LOGGING
- STORAGE(INITIAL 1073741824 NEXT 536870912 MINEXTENTS 1 MAXEXTENTS 2147483645
- PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
- TABLESPACE "TS_CASE_DATA"
- LOB ("GIST_CONTENT") STORE AS BASICFILE (
- TABLESPACE "TS_CASE_DATA" ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(INITIAL 8388608 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
- PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT))
- LOB ("APPLY_RES") STORE AS BASICFILE (
- TABLESPACE "TS_CASE_DATA" ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(INITIAL 8388608 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
- PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT))
- LOB ("APPLY_ACTION") STORE AS BASICFILE (
- TABLESPACE "TS_CASE_DATA" ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(INITIAL 8388608 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
- PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT))
- LOB ("APPLY_RIGHTS") STORE AS BASICFILE (
- TABLESPACE "TS_CASE_DATA" ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(INITIAL 8388608 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
- PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT))
- LOB ("EXECED_RES") STORE AS BASICFILE (
- TABLESPACE "TS_CASE_DATA" ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(INITIAL 8388608 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
- PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT))
- LOB ("EXECED_ACTION") STORE AS BASICFILE (
- TABLESPACE "TS_CASE_DATA" ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(INITIAL 8388608 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
- PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT))
- LOB ("EXECED_RIGHTS") STORE AS BASICFILE (
- TABLESPACE "TS_CASE_DATA" ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(INITIAL 8388608 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
- PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
- BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)) ) ENABLE ROW MOVEMENT
复制代码 由于case_infor_new没建上,所以没有 |
|