首页 > 解决方案 > 如何避免警告“IMP-00041:警告:创建带有编译警告的对象”?

问题描述

我正在努力使用 oracle 导入实用程序。

我正在运行下面的脚本并收到编译警告。我编写了一个脚本来在导入后重新编译所有对象,但我讨厌每次执行新导出并重新导入时都看到这些警告。谁能帮我解决这个问题?

imp user/CHANGEME/host:8081/dbname fromuser=schemaowner touser=schemauser file=exp_$TODAY.dmp  log=imp_$TODAY.log  ignore=y

然后运行脚本

alter view myview1 compile; 
alter view myview2 compile; 
alter view myview3 compile; 

是否有任何属性或解决方法说请先导入父母然后导入视图和触发器等..?

标签: oracleoracle11g

解决方案


推荐阅读