数据库中用户数据的导出与导入
:
plus环境
输入口令:orcl
在该环境下创建目录及选择需要导出的用户,执行以下语句: create or replace directory expdp_di数据库中用户数据的导出与导入
:
plus环境
输入口令:orcl
在该环境下创建目录及选择需要导出的用户,执行以下语句: create or replace directory expdp_dir as ':\';
grant read,write on directory expdp_dir to NC65;
Microsoft Uindous [版本 ]
版权所有2009 Microsoft Corporation o保留所有权剥。
C:XUsersXAdminis t rat o r >s qIplus
SQL*Plus: Release Production on 星期一 1 月 26 11:35:19 2015
Copyright <c> 1982, 2010, Oracle. All rights reserued.
请输入用户名,sys as sysdba
濡人口令,
菱接到:
Oracle Database 11g Enterprise Edition Release - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> create or replace directory expdp_dir as J D:XJ ;
目录已创建。
SQL> grant read,write on directory expdp_dir to NC63;
其中:
D :\ 导出来的数据存放的位置;
NC63 需要导出的用户。
.进入cmd环境
Microsoft Uindous [版本 ]
版权所有〈c> 2009 Microsoft Corporat ion 0保留所有权剥。
C: XUsersMldiiinistrator>
:
expdp NC65/NC64 directory=expdp_dir dumpfile= logfile=
Microsoft U in do us [版本 ]
版权所有2009 Microsoft Corporation o保留所有权剥。
C: XUsersMldiiinist rat or >e xpdp NC6 3/NC6 3 d ire ctory =e xpdp_d ir dumpf ile=A . dmp logf il e=A . log
其中:
NC63/NC63 用户/密码(被导用户)
A导出数据文件的命名
就开始在导数据了,等就好了。
Microsoft Uindous [版本 ]
版权所有2009 Microsoft Corporation o保
数据库中用户数据的导出与导入 来自淘豆网www.taodocs.com转载请标明出处.