1、将emp表导出:
G:\>exp userid=scott/tiger tables=(emp) file=g:\empp log=g:\empp.logExport: Release 8.1.5.0.0 - Production on 星期一 9月 15 16:26:46 2003(c) Copyright 1999 Oracle Corporation.  All rights reserved.
连接到:Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
With the Partitioning and Java options
PL/SQL Release 8.1.5.0.0 - Production
已导出ZHS16GBK字符集和ZHS16GBK NCHAR 字符集即将导出指定的表通过常规路径 ...
. . 正在导出表                            EMP         14 行被导出
在没有警告的情况下成功终止导出。2、将scott用户的emp表删除:drop table emp;
3、将重新导入emp表:
G:\>imp userid=scott/tiger tables=emp file=g:\emppImport: Release 8.1.5.0.0 - Production on 星期一 9月 15 16:34:50 2003(c) Copyright 1999 Oracle Corporation.  All rights reserved.
已连接到:Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
With the Partitioning and Java options
PL/SQL Release 8.1.5.0.0 - Production经由常规路径导出由EXPORT:V08.01.05创建的文件
已经完成ZHS16GBK字符集和ZHS16GBK NCHAR 字符集中的导入
. 正在将SCOTT的对象导入到 SCOTT
. . 正在导入表                           "EMP"         14行被导入
准备启用约束条件...
成功终止导入,但出现警告。问题:
为何出现警告,如何查看出现的警告,如何解决。

解决方案 »

  1.   

    我的log文件在哪里? 不要笑我!!
      

  2.   

    我在导入时加入参数imp userid=scott/tiger log=g:\gg.log tables=emp file=g:\empp但其中的内容和imp结束时显示的一样:
    经由常规路径导出由EXPORT:V08.01.05创建的文件
    已经完成ZHS16GBK字符集和ZHS16GBK NCHAR 字符集中的导入
    . 正在将SCOTT的对象导入到 SCOTT
    . . 正在导入表                           "EMP"         14行被导入
    准备启用约束条件...
    成功终止导入,但出现警告。
    并没有具体的警告内容,还有我的oracle8.15企业版运行在归档模式下,不知有没有影响。
      

  3.   

    ignore=Y的意思是忽略错误,但我有一个数据量较大(60万)且十分重要的库需要导不能有错呀.如果忽略我如何知道哪些数据出现错误呢.oracle的安全性和功能不是很强大的吗?
      

  4.   

    从log里面看不出什么东西!我也找过,没找到。