非交互式

windows: D:\>exp scott/tiger file=employee.dmp tables=(emp,dept)

linux需要加双引号

EXP-00091:

[oracle@oracle oracle_databak]$ exp scott/orcl@orcl file=/home/oracle/oracle_databak/scott.dmp tables="(emp,dept)"

Export: Release 11.2.0.3.0 - Production on Fri Oct 5 14:45:01 2018

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in ZHS16GBK character set and AL16UTF16 NCHAR character set
server uses AL32UTF8 character set (possible charset conversion) About to export specified tables via Conventional Path ...
. . exporting table EMP 14 rows exported
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
. . exporting table DEPT 4 rows exported
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
Export terminated successfully with warnings.

处理方法

如果在exp后指定rows=n 意思就是不导出数据,只导出表结构

解决方式:EXP-00091   对环境变量进行修改 修改后重新进行导出操作就没有这个错误了

select * from v$nls_parameters where parameter='NLS_CHARACTERSET';

imp导入操作

[oracle@oracle ~]$ imp system/orcl@orcl file=/home/oracle/oracle_databak/scott.dmp fromuser=scott touser=nod commit=y

Import: Release 11.2.0.3.0 - Production on Fri Oct 5 14:56:43 2018

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options Export file created by EXPORT:V11.02.00 via conventional path Warning: the objects were exported by SCOTT, not by you import done in ZHS16GBK character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
. importing SCOTT's objects into NOD
. . importing table "EMP" 14 rows imported
. . importing table "DEPT" 4 rows imported
About to enable constraints...
Import terminated successfully without warnings.

最新文章

  1. unity调用摄像头的方法
  2. JS无缝滚动
  3. sc.WholeTextFiles与sc.textFile区别
  4. 在线代码格式化,在线JSON校验格式化
  5. Codeforces Round #155 (Div. 2)
  6. LA 3516 Exploring Pyramids (记忆化搜索)
  7. android账号与同步之发起同步
  8. Android 开发笔记___shape
  9. tomcat调优(三)
  10. 利用火车头采集A67手机电影教程一
  11. PKCS#1
  12. AAA及Radius
  13. 【转】手机web前端调试页面的几种方式
  14. Python 爬虫知识点 - 淘宝商品检索结果抓包分析(续一)
  15. BZOJ1176:[Balkan2007]Mokia——题解
  16. Confluence 安装
  17. Redux Concepts
  18. css3 使用animation实现动画效果
  19. luoguP4234 最小差值生成树
  20. 批量安装Python第三方库

热门文章

  1. MySQL中INFORMATION_SCHEMA
  2. 不输入密码执行sudo 命令
  3. React中jquery引用
  4. 从 Godaddy 转移域名到 Namesilo
  5. Java开发培训基础知识解析之反射机制
  6. goreleaser 方便的go 二进制包分发工具
  7. gitingore && opensource license 自动生成的网站
  8. python-廖雪峰,map/reduce学习笔记
  9. ES查询之刨根问底
  10. NET设计模式 第二部分 结构性模式(8):桥接模式(Bridge Pattern)