- 最后登录
- 2019-7-8
- 在线时间
- 133 小时
- 威望
- 131
- 金钱
- 1368
- 注册时间
- 2011-10-14
- 阅读权限
- 50
- 帖子
- 126
- 精华
- 1
- 积分
- 131
- UID
- 31
|
4#
发表于 2013-3-12 09:59:19
- SQL> set pagesize 10000
- SQL> select dbms_metadata.get_ddl(object_type => 'TABLE',name => 'TB_MOVIE_MOVIE_PARTNER',schema => 'MOVIE') from dual;
- DBMS_METADATA.GET_DDL(OBJECT_TYPE=>'TABLE',NAME=>'TB_MOVIE_MOVIE_PARTNER',SCHEMA
- --------------------------------------------------------------------------------
- CREATE TABLE "MOVIE"."TB_MOVIE_MOVIE_PARTNER"
- ( "ID" VARCHAR2(64) NOT NULL ENABLE,
- "PARTNER_ID" NUMBER(10,0),
- "REF_ID" NUMBER(10,0),
- "NAME" VARCHAR2(256),
- "ENGLISH_NAME" VARCHAR2(256),
- "RELEASE_DATE" VARCHAR2(64),
- "DURATION" VARCHAR2(256),
- "DIRECTOR" VARCHAR2(1024),
- "ACTORS" VARCHAR2(2048),
- "LOGO" VARCHAR2(512),
- "LOGO_SMALL" VARCHAR2(512),
- "GRADE" NUMBER(8,2),
- "CATEGORY" VARCHAR2(256),
- "AREA" VARCHAR2(256),
- "DIMENSIONAL" VARCHAR2(256),
- "LANGUAGE" VARCHAR2(256),
- "FIRM" VARCHAR2(256),
- "HIGHLIGHT" VARCHAR2(512),
- "IMDBID" VARCHAR2(32),
- "PRICE" NUMBER(10,2),
- "CREATE_TIME" DATE DEFAULT SYSDATE,
- "UPDATE_TIME" DATE DEFAULT SYSDATE,
- "DESCRIPTION" CLOB,
- "MORE_NAME" VARCHAR2(512),
- "REMARK" CLOB,
- CONSTRAINT "PK_TB_MOVIE_MOVIE_PARTNER" PRIMARY KEY ("ID")
- USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
- STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
- PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DE
- FAULT CELL_FLASH_CACHE DEFAULT)
- TABLESPACE "USERS" ENABLE,
- CONSTRAINT "FK_MOVIE_MOVIE_PARTNER_REF" FOREIGN KEY ("REF_ID")
- REFERENCES "MOVIE"."TB_MOVIE_MOVIE" ("ID") DISABLE,
- CONSTRAINT "FK_MOVIE_MOVIE_PARTNER_ID" FOREIGN KEY ("PARTNER_ID")
- REFERENCES "MOVIE"."TB_MOVIE_PARTNER" ("ID") ENABLE
- ) SEGMENT CREATION IMMEDIATE
- PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
- STORAGE(INITIAL 196608 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
- PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DE
- FAULT CELL_FLASH_CACHE DEFAULT)
- TABLESPACE "USERS"
- LOB ("DESCRIPTION") STORE AS BASICFILE (
- TABLESPACE "USERS" ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
- PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DE
- FAULT CELL_FLASH_CACHE DEFAULT))
- LOB ("REMARK") STORE AS BASICFILE (
- TABLESPACE "USERS" ENABLE STORAGE IN ROW CHUNK 8192 RETENTION
- NOCACHE LOGGING
- STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
- PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DE
- FAULT CELL_FLASH_CACHE DEFAULT))
- SQL>
复制代码 |
|