简体   繁体   中英

how to fetch ER diagram for DB2 datawarehouse using schemacrawler

im using db2 data warehouse. I am using schemacrawler to fetch the ER diagram. In my data warehouse PK and FK are not mentioned. So I want to ask that can we add PK and FK through Schemacrawler to fetch the ER diagram. I have read weak-associations functionality, but its working if primary is present into DB. IF primary key is also not present then how to use SchemaCrawler on data warehouse to fetch the ER diagrams.

You can add a Catalog Attributes file with relationship definitions . These will show up in the diagram.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM