Import dump with SQLFILE parameter not returning the data inside the table

余生颓废 提交于 2019-12-02 12:15:10

Your expectation was wrong, I'm afraid. You're asking it to do something it isn't designed for.

The documentation for SQLFILE says:

Purpose

Specifies a file into which all of the SQL DDL that Import would have executed, based on other parameters, is written.

So it will only ever contain DDL.

There isn't a mechanism to turn a .dmp file into a .sql containing insert statements. If you need to put the data into a table, just use the native import.

Individual insert statements - if you could generate them, which SQL Developer will do as a separate task unrelated to your data pump export - would be slower, would have problems with LOBs, and would have to be careful about the order they were run unless integrity constraints were disabled. Data pump takes care of all of that for you.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!