- 最后登录
- 2015-3-26
- 在线时间
- 21 小时
- 威望
- 29
- 金钱
- 264
- 注册时间
- 2012-6-14
- 阅读权限
- 10
- 帖子
- 27
- 精华
- 0
- 积分
- 29
- UID
- 506
|
1#
发表于 2012-6-26 16:27:09
|
查看: 5970 |
回复: 4
C:\Users\Administrator>set NLS_LANG=AMERICAN_AMERICA.AL32UTF8
C:\Users\Administrator>exp [email=SLPC/SLPC@192.168.10.10/GDWCDB]SLPC/SLPC@192.168.10.10/GDWCDB[/email] file=1.dmp log=1.log tables=(P205)
Export: Release 11.2.0.3.0 - Production on Wed Jun 27 00:20:39 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
About to export specified tables via Conventional Path ...
EXP-00011: SLPC.P205 does not exist
Export terminated successfully with warnings.
C:\Users\Administrator>exp [email=SLPC/SLPC@192.168.10.10/GDWCDB]SLPC/SLPC@192.168.10.10/GDWCDB[/email] file=1.dmp log=1.log tables=(P201)
Export: Release 11.2.0.3.0 - Production on Wed Jun 27 00:21:06 2012
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
About to export specified tables via Conventional Path ...
. . exporting table P201 16 rows exported
Export terminated successfully without warnings.
C:\Users\Administrator>sqlplus [email=SLPC/SLPC@192.168.10.10/GDWCDB]SLPC/SLPC@192.168.10.10/GDWCDB[/email]
SQL*Plus: Release 11.2.0.3.0 Production on Wed Jun 27 00:22:00 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> desc P205
Name Null? Type
----------------------------------------- -------- ----------------------------
ID NOT NULL VARCHAR2(25)
OBJID NOT NULL VARCHAR2(30)
OBJNAME NOT NULL VARCHAR2(69)
OBJCODE NOT NULL VARCHAR2(69)
SOURCEID NOT NULL VARCHAR2(25)
WATERRESOURCETHIRDOUTID NOT NULL VARCHAR2(25)
WATERRESOURCETHIRDINID NOT NULL VARCHAR2(25)
SSXLQ VARCHAR2(105)
SSQ VARCHAR2(105)
YINGDIAOSHUIFANGSHI VARCHAR2(6)
GCJSQK VARCHAR2(6)
JCSJ_NIAN NUMBER(9)
JCSJ_YUE NUMBER(7)
KGSJ_NIAN NUMBER(9)
KGSJ_YUE NUMBER(7)
GONGCHENGDENGBIE VARCHAR2(6)
SJYSLL NUMBER(16,2)
SJNYSL NUMBER(18,2)
SJGGAREA NUMBER(14,2)
SSGX_ALLLENGTH NUMBER(14,2)
SSGX_SZ NUMBER(11)
SSGX_BZ NUMBER(11)
SSGX_DC NUMBER(11)
SSGX_DHX NUMBER(11)
GONGCHENGRENWU VARCHAR2(20)
NDYSLID NOT NULL VARCHAR2(25)
GLDWID NOT NULL VARCHAR2(25)
RIQI_TBR DATE
RIQI_FHR DATE
RIQI_SCR DATE
TBRID NOT NULL VARCHAR2(25)
FHRID NOT NULL VARCHAR2(25)
SCRID NOT NULL VARCHAR2(25)
SQL> SELECT COUNT(*) FROM P205;
COUNT(*)
----------
0
SQL> SET LONG 10000
SQL> SET PAGESIZE 0
SQL> select dbms_metadata.get_ddl('TABLE','P205') from dual;
CREATE TABLE "SLPC"."P205"
( "ID" VARCHAR2(25) NOT NULL ENABLE,
"OBJID" VARCHAR2(30) NOT NULL ENABLE,
"OBJNAME" VARCHAR2(69) NOT NULL ENABLE,
"OBJCODE" VARCHAR2(69) NOT NULL ENABLE,
"SOURCEID" VARCHAR2(25) NOT NULL ENABLE,
"WATERRESOURCETHIRDOUTID" VARCHAR2(25) N
OT NULL ENABLE,
"WATERRESOURCETHIRDINID" VARCHAR2(25) NOT
NULL ENABLE,
"SSXLQ" VARCHAR2(105),
"SSQ" VARCHAR2(105),
"YINGDIAOSHUIFANGSHI" VARCHAR2(6),
"GCJSQK" VARCHAR2(6),
"JCSJ_NIAN" NUMBER(9,0),
"JCSJ_YUE" NUMBER(7,0),
"KGSJ_NIAN" NUMBER(9,0),
"KGSJ_YUE" NUMBER(7,0),
"GONGCHENGDENGBIE" VARCHAR2(6),
"SJYSLL" NUMBER(16,2),
"SJNYSL" NUMBER(18,2),
"SJGGAREA" NUMBER(14,2),
"SSGX_ALLLENGTH" NUMBER(14,2),
"SSGX_SZ" NUMBER(11,0),
"SSGX_BZ" NUMBER(11,0),
"SSGX_DC" NUMBER(11,0),
"SSGX_DHX" NUMBER(11,0),
"GONGCHENGRENWU" VARCHAR2(20),
"NDYSLID" VARCHAR2(25) NOT NULL ENABLE,
"GLDWID" VARCHAR2(25) NOT NULL ENABLE,
"RIQI_TBR" DATE,
"RIQI_FHR" DATE,
"RIQI_SCR" DATE,
"TBRID" VARCHAR2(25) NOT NULL ENABLE,
"FHRID" VARCHAR2(25) NOT NULL ENABLE,
"SCRID" VARCHAR2(25) NOT NULL ENABLE,
CONSTRAINT "PK_P205" PRIMARY KEY ("ID")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 25
5 COMPUTE STATISTICS NOCOMPRESS LOGGING
TABLESPACE "SLPC_DATA" ENABLE
) SEGMENT CREATION DEFERRED
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPR
ESS LOGGING
TABLESPACE "SLPC_DATA"
SQL> select dbms_metadata.get_ddl('TABLE','P201') from dua
CREATE TABLE "SLPC"."P201"
( "ID" NUMBER(10,0) NOT NULL ENABLE,
"OBJID" VARCHAR2(30),
"SKID" NUMBER(10,0) NOT NULL ENABLE,
"EDEGREES" NUMBER(8,0),
"EMINUTES" NUMBER(7,0),
"ESECONDS" NUMBER(8,1),
"NDEGREES" NUMBER(7,0),
"NMINUTES" NUMBER(7,0),
"NSECONDS" NUMBER(8,1),
"XZQID" NUMBER(10,0) NOT NULL ENABLE,
"WATERRESOURCETHIRDID" NUMBER(10,0) NOT NULL ENA
BLE,
"HEHUID" NUMBER(10,0) NOT NULL ENABLE,
"OBJTYPE" NUMBER(10,0) NOT NULL ENABLE,
"STOPWATERBUILDINGTYPE" NUMBER(10,0) NOT NULL ENAB
LE,
"DAMTYPE_CAILIAO" NUMBER(10,0) NOT NULL ENABLE,
"DAMTYPE_JIEGOU" NUMBER(10,0) NOT NULL ENABL
E,
"XHJZWTYPE" NUMBER(10,0) NOT NULL ENABLE,
"BZKZLYAREA" NUMBER(17,2),
"DNPJJLL" NUMBER(21,4),
"SCAZRK" NUMBER(17,4),
"BQAZRK" NUMBER(17,4),
"GCJSQK" NUMBER(10,0) NOT NULL ENABLE,
"JCSJ_NIAN" NUMBER(9,0),
"JCSJ_YUE" NUMBER(7,0),
"KGSJ_NIAN" NUMBER(9,0),
"KGSJ_YUE" NUMBER(7,0),
"SKTJXN" NUMBER(10,0) NOT NULL ENABLE,
"GONGCHENGDENGBIE" NUMBER(10,0) NOT NULL ENABLE,
"ZHUBAJIBIE" NUMBER(10,0) NOT NULL ENABLE,
"ZHUBAGAO" NUMBER(18,2),
"ZHUBACHANG" NUMBER(18,2),
"ZDXHL" NUMBER(18,2),
"GAOCHENGXITONG" VARCHAR2(65),
"BADINGGAOCHENG" NUMBER(18,2),
"SJHSBZ" NUMBER(10,0),
"JHHSBZ" NUMBER(10,0),
"JIAOHEHSW" NUMBER(14,2),
"SHEJIHSW" NUMBER(14,2),
"FANGHONGGSW" NUMBER(14,2),
"ZHENGCHANGXSW" NUMBER(14,2),
"FHXZSW" NUMBER(14,2),
"SISHIWEI" NUMBER(14,2),
"ZONGKURONG" NUMBER(19,2),
"TIAOHONGKURONG" NUMBER(14,2),
"FANGHONGKURONG" NUMBER(14,2),
"XINGLIKURONG" NUMBER(14,2),
"SIKURONG" NUMBER(14,2),
"ZCXSWAREA" NUMBER(15,2),
"GCRW_FANGHONG" VARCHAR2(6),
"GCRW_FADIAN" VARCHAR2(6),
"GCRW_GONGSHUI" VARCHAR2(6),
"GCRW_GUANGAI" VARCHAR2(6),
"GCRW_HANGYUN" VARCHAR2(6),
"GCRW_YANGZHI" VARCHAR2(6),
"GCRW_QITA" VARCHAR2(6),
"BAOHUDUIXIANG" VARCHAR2(200),
"SJNGSL" NUMBER(15,2),
"NDGSLID" NUMBER(10,0) NOT NULL ENABLE,
"GONGSHUIDUIXIANG" VARCHAR2(200),
"SJGGAREA" NUMBER(17,4),
"GUANQUNAME" VARCHAR2(105),
"DEPTNAME" VARCHAR2(105),
"DEPTCODE" VARCHAR2(20),
"MAINDEPT" NUMBER(10,0) NOT NULL ENABLE,
"IS_HUAJIE" NUMBER(10,0) NOT NULL ENABLE,
"IS_QUEQUAN" NUMBER(10,0) NOT NULL ENABLE,
"RIQI_TBR" DATE,
"RIQI_FHR" DATE,
"RIQI_SCR" DATE,
"TBRID" NUMBER(10,0) NOT NULL ENABLE,
"FHRID" NUMBER(10,0) NOT NULL ENABLE,
"SCRID" NUMBER(10,0) NOT NULL ENABLE,
CONSTRAINT "PK_P201" PRIMARY KEY ("ID")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 C
OMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINE
XTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUF
FER_POOL DEFAULT FLASH_CACHE DEFAULT CEL
L_FLASH_CACHE DEFAULT)
TABLESPACE "SLPC_DATA" ENABLE
) SEGMENT CREATION IMMEDIATE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOC
OMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 8192 MINEXTENTS
1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_PO
OL DEFAULT FLASH_CACHE DEFAULT CELL_FLAS
H_CACHE DEFAULT)
TABLESPACE "SLPC_DATA" |
|