![](/img/trans.png)
[英]How do I get an Oracle SCHEMA as DDL scripts with DBMS_METADATA (and SCHEMA_EXPORT)
[英]How do I get SchemaCrawler to export actual table row data to the text output?
如何讓SchemaCrawler將實際的表行數據導出到文本輸出? 我無法在任何地方找到示例,也沒有找到引用此選項的文檔,盡管我在互聯網上看到了暗示它可以完成的引用。 我能夠導出有關模式的信息,但它只是缺少數據。
我正在使用Oracle版本的SchemaCrawler。 我正在使用schemacrawler.config.properties,但我找不到所有可能選項的列表。 我使用的命令是這樣的:
java.exe -classpath lib/*;. schemacrawler.tools.oracle.Main -infolevel=maximum
-database=%5 -g=schemacrawler.config.properties -user=%1 -password=%2
-schemas=%5 -port=%4 -host=%3 -table_types=TABLE -command="SELECT * FROM %5.%6"
-sortcolumns=true
嘗試這個:
java.exe -classpath lib/*;. schemacrawler.tools.oracle.Main -infolevel=maximum
-database=%5 -g=schemacrawler.config.properties -user=%1 -password=%2
-schemas=%5 -port=%4 -host=%3 -table_types=TABLE -command=dump
-sortcolumns=true
或者這個(參見附上命令的引號)
java.exe -classpath lib/*;. schemacrawler.tools.oracle.Main -infolevel=maximum
-database=%5 -g=schemacrawler.config.properties -user=%1 -password=%2
-schemas=%5 -port=%4 -host=%3 -table_types=TABLE "-command=SELECT * FROM %5.%6"
-sortcolumns=true
SchemaCrawler的Sualeh Fatehi
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.