导出用户oracle下的所有表 exp system/oracle owner=oracle file='/tmp/oracle-table-20130509.dmp' log='/tmp/oracle-table-20130509.log'; 导入用户oracle下的表: imp system/oracle file='/tmp/oracle-table-20130509.dmp' log='/tmp/oracle-table-20130509.log' fromuser=oracle; 此文件是导出用户oracle下的所有表 。 按以上sql语句导入数据库即可,如果没有oracle用户,建议创建oracle用户。 含有emp,dept表等。详见log日志。 . about to export ORACLE's tables via Conventional Path ... . . exporting table BOOK 1 rows exported . . exporting table CLASS 0 rows exported . . exporting table CUSTOMER 0 rows exported EXP-00091: Exporting questionable statistics. EXP-00091: Exporting questionable statistics. . . exporting table DEPT 4 rows exported . . exporting table EMP 17 rows exported . . exporting table GOODS 0 rows exported EXP-00091: Exporting questionable statistics. . . exporting table PURCHASE 0 rows exported . . exporting table SALGRADE 5 rows exported . . exporting table STU 0 rows exported . . exporting table TEMP_TABLE 16 rows exported . . exporting table USR 10 rows exported
- 1
- shenli_li8182015-07-08这是相当好的资源,对学习oracle提供了很大的方便,衷心感谢分享。
- niuran19932017-10-30很有帮助,安了oracle12c没有初始的emp等教程表,还好有这个资源
- databatman2015-11-18帮了大忙了!
- 粉丝: 42
- 资源: 14
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助