如何将一个表exp/imp从一个表空间导入到另外一个表空间其实都是权限的问题导致的,下面我做一个简单的示范!
Microsoft Windows XP [版本5.1.2600]
(C) 版权所有1985-2001 Microsoft Corp.
C:\Documents and Settings\zjiu>sqlplus "sys/sys@test as sysdba"
SQL*Plus: Release 9.2.0.1.0 - Production on 星期四3月1 17:29:08 2007 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
连接到:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> create tablespace test1
2 datafile 'd:\oracle\oradata\test\test1.ora' size 100m;
表空间已创建。
SQL> create user test1
2 identified by test1
3 default tablespace test1
4 temporary tablespace temp
5 quota unlimited on test1;
用户已创建
SQL> grant connect,dba to test1;
授权成功。
SQL> conn test1/test1
ERROR:
ORA-12560: TNS: 协议适配器错误
警告: 您不再连接到ORACLE。
SQL> conn test1/test1@test
已连接。