如何查询DMP文件中有哪些表?

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/okhymok/article/details/83834052

一般有2个很好的解决方案
1)unix/liux下
    strings expdp.dmp |grep "CREATE TABLE"|sed -e 's/,/,\n/g'
    Windows下
   用UltraEdit或其他编辑工具打开后查看(不过效果不如strings 看到的爽)
2) 使用imp ... show=y log=scripts.sql
     的方式,可以看到清晰的ddl脚本!

猜你喜欢

转载自blog.csdn.net/okhymok/article/details/83834052