我想使用Oracle SQL开发人员为我的DB表生成一个ER图,但我是Oracle和这个工具的新手。
在SQL Developer中创建ER图的过程是什么?
我想使用Oracle SQL开发人员为我的DB表生成一个ER图,但我是Oracle和这个工具的新手。
在SQL Developer中创建ER图的过程是什么?
当前回答
您可以参考一个名为Oracle Data Modeler的配套工具。网站上有在线演示,可以让你开始学习。它曾经是一个额外的费用项目,但我注意到它再次是免费的。
从Data Modeler概览页面:
SQL Developer Data Modeler is a free data modeling and design tool, proving a full spectrum of data and database modeling tools and utilities, including modeling for Entity Relationship Diagrams (ERD), Relational (database design), Data Type and Multi-dimensional modeling, with forward and reverse engineering and DDL code generation. The Data Modeler imports from and exports to a variety of sources and targets, provides a variety of formatting options and validates the models through a predefined set of design rules.
其他回答
为现有的数据库模式或其子集创建一个图,如下所示:
点击文件→数据建模器→导入→数据字典。 选择一个DB连接(如果没有则添加一个)。 单击Next。 检查一个或多个模式名。 单击Next。 选中一个或多个要导入的对象。 单击Next。 单击Finish。
显示ERD。
导出如下图:
点击文件→数据建模器→打印图表→到图像文件。 浏览到并选择导出文件位置。 单击Save。
图被导出。若要以矢量格式导出,请使用“导出到PDF文件”。这允许使用Inkscape(或其他矢量图像编辑器)简化编辑。
这些说明可能适用于SQL Developer 3.2.09.23至4.1.3.20。
Oracle过去在SQL Developer中有一个叫做Data Modeler的组件。至少从3.2.20.10开始,它不再存在于产品中。
现在它是一个单独的下载,你可以在这里找到:
http://www.oracle.com/technetwork/developer-tools/datamodeler/overview/index.html
它很容易去文件-数据建模器-导入-数据字典- DB连接- OK
您可以参考一个名为Oracle Data Modeler的配套工具。网站上有在线演示,可以让你开始学习。它曾经是一个额外的费用项目,但我注意到它再次是免费的。
从Data Modeler概览页面:
SQL Developer Data Modeler is a free data modeling and design tool, proving a full spectrum of data and database modeling tools and utilities, including modeling for Entity Relationship Diagrams (ERD), Relational (database design), Data Type and Multi-dimensional modeling, with forward and reverse engineering and DDL code generation. The Data Modeler imports from and exports to a variety of sources and targets, provides a variety of formatting options and validates the models through a predefined set of design rules.
对于使用Oracle数据库的类图,使用以下步骤:
File→Data Modeler→Import→Data Dictionary→select DB connection→Next→select database->select tables ->完成