我可以让 schemacrawler 忽略模式名称吗?
Can I get schemacrawler to ignore the schema name?
我正在尝试比较两个 Oracle 数据库 - 我是 运行 关于两个不同模式名称的报告 - 在我的例子中,是一个模式前缀。例如。使用:
-schemas=FOO.*
然后
-schemas=BAR.*
有没有办法从报告中隐藏这个前缀,以便在比较两个报告时不会显示出明显的差异?
我知道我可以使用 Beyond Compare 中的 'unimportant' 文本功能,但最好提前介绍一下。
我觉得我遗漏了一些明显的东西,或者可能没有人需要它,因为模式名称是相当基础的。我想我只是在比较模式。
如果是在帮助中,我可能理解错了。
欢迎任何提示。
非常感谢。
当然,这在一个明显的地方得到了回答...
How to hide catalog and schema names in text output
Change the configuration for the SchemaCrawler
schemacrawler.format.show_unqualified_names=true in the
schemacrawler.config.properties file. This setting will show
unqualified names of database objects such as tables and prcodures.
That is, the catalog and schema names will not be displayed. Use with
care, especially if you have foreign keys that reference tables in
other schemas, or synonyms.
但是,在我的情况下,输出实际上在返回的 SQL 和过程等中,因此是数据库所持有内容的基础。
据我所知,我最好的方法是使用 Beyond Compare 或类似的工具来去除这些小字符串以帮助进行比较。
我正在尝试比较两个 Oracle 数据库 - 我是 运行 关于两个不同模式名称的报告 - 在我的例子中,是一个模式前缀。例如。使用:
-schemas=FOO.*
然后
-schemas=BAR.*
有没有办法从报告中隐藏这个前缀,以便在比较两个报告时不会显示出明显的差异?
我知道我可以使用 Beyond Compare 中的 'unimportant' 文本功能,但最好提前介绍一下。
我觉得我遗漏了一些明显的东西,或者可能没有人需要它,因为模式名称是相当基础的。我想我只是在比较模式。
如果是在帮助中,我可能理解错了。
欢迎任何提示。
非常感谢。
当然,这在一个明显的地方得到了回答...
How to hide catalog and schema names in text output
Change the configuration for the SchemaCrawler schemacrawler.format.show_unqualified_names=true in the schemacrawler.config.properties file. This setting will show unqualified names of database objects such as tables and prcodures. That is, the catalog and schema names will not be displayed. Use with care, especially if you have foreign keys that reference tables in other schemas, or synonyms.
但是,在我的情况下,输出实际上在返回的 SQL 和过程等中,因此是数据库所持有内容的基础。 据我所知,我最好的方法是使用 Beyond Compare 或类似的工具来去除这些小字符串以帮助进行比较。