Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses WE8ISO8859P1 character set (possible charset conversion)
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user SFX
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user SFX
About to export SFX's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export SFX's tables via Conventional Path ...
. . exporting table T1 1 rows exported
. exporting synonyms
. exporting views
. exporting stored procedures
. exporting operators
. exporting referential integrity constraints
. exporting triggers
. exporting indextypes
. exporting bitmap, functional and extensible indexes
. exporting posttables actions
. exporting materialized views
. exporting snapshot logs
. exporting job queues
. exporting refresh groups and children
. exporting dimensions
. exporting post-schema procedural objects and actions
. exporting statistics
Export terminated successfully without warnings.
$ imp sjh/sjh file=sfx.dmp fromuser=sfx touser=sjh
Import: Release 10.2.0.2.0 - Production on Thu Mar 26 16:40:52 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V10.02.01 via conventional path
Warning: the objects were exported by SFX, not by you
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses WE8ISO8859P1 character set (possible charset conversion)
. . importing table "T1" 1 rows imported
Import terminated successfully without warnings.
SQL> show user
USER is "SJH"
SQL> select table_name,tablespace_name from user_tables;
TABLE_NAME TABLESPACE_NAME
------------------------------ ------------------------------
SJH0 USERS
T1 SJHTEST
TEST USERS
TEST1 USERS
SQL> select * from T1;
ID NAME
---------- --------
1 sjh
--表空间还是原来的SJHTEST。达不到我们的目的。
Grant succeeded.
Revoke succeeded.
User altered.
User altered.
Table dropped.
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V10.02.01 via conventional path
Warning: the objects were exported by SFX, not by you
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses WE8ISO8859P1 character set (possible charset conversion)
. . importing table "T1" 1 rows imported
Import terminated successfully without warnings.
SQL> select table_name,tablespace_name from user_tables;
TABLE_NAME TABLESPACE_NAME
------------------------------ ------------------------------
SJH0 USERS
T1 USERS
TEST USERS
TEST1 USERS
SQL> select * from t1;
ID NAME
---------- --------
1 sjh
OK!