oracle数据库导出并重新导入
2013-08-20 21:48
295 查看
斌斌 (给我写信) 原创博文(http://blog.csdn.net/binbinxyz),转载请注明出处!
一、导出数据库
1、将数据库TEST完全导出,用户名scott密码tiger,导出到D:\testDB.dmp中:exp scott/tiger@TEST file=d:\testDB.dmp full=y
2、将数据库中的表emp导出:
exp scott/tiger@TEST file=d:\testDB.dmp tables=(emp)
二、导入数据库
1、导入一个完整数据库imp scott/tiger@TEST file=d:\testDB.dmp full=y ignore=y
2、导入一个表emp
imp scott/tiger@TEST file=d:\testDB.dmp tables=(emp)
附:
1、级联删除用户scott:
drop user scott cascade;
2、创建用户scott,密码tiger:
create user scott identified by tiger;
3、给scott赋予DBA权限:
grant dba to scott;
相关文章推荐
- oracle数据库导出并重新导入
- Oracle数据库数据导入导出基本方法--以及 练习
- Oracle数据库案例整理-导入导出Oracle数据失败-导出Oracle数据时提示导出可疑信息
- oracle数据库导入导出
- Oracle数据库导入导出命令
- 命令方式对Oracle数据库导入导出
- 自己整理的Oracle数据库操作常用备份导入导出实用命令
- oracle数据库导入导出步骤
- Oracle数据库EXP/IMP导出导入
- Oracle数据库:impdp导入数据库及expdp导出数据过程详解
- oracle数据库导入导出的实现
- oracle数据库导入导出
- Oracle数据库远程导入、导出
- Oracle数据库导入导出命令
- 根据条件、参数使用EXPDP和IMPDP导入导出Oracle数据库
- Oracle数据库导出与导入及执行
- PL/SQL Developer导入导出Oracle数据库方法
- 如何使用PLSQL Developer从oracle数据库导入导出数据
- oracle数据库导入导出命
- Oracle数据库导入导出