SchemaCrawler - Database-Specific Queries Example
Description
SchemaCrawler has the capability to execute any arbitrary SQL, even if the SQL is database-specific. This example demonstrates how to execute arbitrary SQL.
How to Run
- Make sure that java is on your PATH
- Start the test database server by following instructions in the
_testdb/README.htmlfile - Start a command shell in the
db-specific-queryexample directory. - Run
db-specific-query.cmd(ordb-specific-query.shon Unix).
How to Experiment
- Try generating different output formats, such as HTML.
- Try modifying
config/schemacrawler.config.propertieswith different queries. - Redirect the output of SchemaCrawler into a file, by running
db-specific-query.cmd > file.txt.