Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我必须制作一个扩展名为 .sql 的转储文件,这样做的正确方法是什么?我正在使用 Oracle 数据库快捷版 10g。如果我在cmd中输入它会正常工作吗?
expdp system/system_password full=Y EXCLUDE=SCHEMA:\"LIKE \'APEX_%\'\",SCHEMA:\"LIKE \'FLOWS_%\'\" directory=DUMP_DIR dumpfile=DB1.sql logfile=expdpDB10G.log
expdp创建了一个dump文件,它只能被impdp使用,不能作为SQL脚本运行,所以用.sql扩展名来命名是没有意义的。
.sql
我更喜欢用类似的东西来命名它,.dmp以便更清楚它包含的内容。
.dmp