当前位置:网站首页>使用Power Designer工具构建数据库模型
使用Power Designer工具构建数据库模型
2022-06-30 11:57:00 【凌北辰】
Power Designer介绍
PowerDesigner是Sybase公司的一款软件,使用它可以方便地对系统进行分析设计,他几乎包括了数据库模型设计的全过程。利用PowerDesigner可以制作数据流程图、概念数据模型、物理数据模型、面向对象模型。
在项目设计阶段通常会使用PowerDesigner进行数据库设计。使用PowerDesigner可以更加直观的表现出数据库中表之间的关系,并且可以直接导出相应的建表语句。
Power Designer使用
创建物理数据模型
操作步骤:
(1)创建数据模型PDM

(2)选择数据库类型

(3)创建表和字段

指定表名

创建字段

设置某个字段属性,在字段上右键

添加外键约束





从PDM导出SQL脚本
可以通过PowerDesigner设计的PDM模型导出为SQL脚本,如下:


逆向工程
上面我们是首先创建PDM模型,然后通过PowerDesigner提供的功能导出SQL脚本。实际上这个过程也可以反过来,也就是我们可以通过SQL脚本逆向生成PDM模型,这称为逆向工程,操作如下:




生成数据库报表文件
通过PowerDesigner提供的功能,可以将PDM模型生成报表文件,具体操作如下:
(1)打开报表向导窗口

(2)指定报表名称和语言

(3)选择报表格式和样式


(4)选择对象类型

(5)执行生成操作

边栏推荐
- Hannaiping of Qilin software: the construction of Digital China needs its own open source root community
- YOLOv5导出onnx遇到的坑
- Our company has used this set of general solutions for 7 years, and has opened up dozens of systems, a stable batch!
- 串行通信接口8250
- 用宝塔建第2个网站时网站总是报错:No input file specified.
- ClipboardJS——开发学习总结1
- MySQL 复合查询
- [cf] 803 div2 B. Rising Sand
- AutoCAD - len command
- The website with id 0 that was requested wasn‘t found. Verify the website and try again
猜你喜欢

网络营销之四大误解

又被 Kotlin 语法糖坑惨的一天

It is said that with this, the boss opened the test overnight

A new journey of the smart court, paperless office, escorting the green trial of the smart court

led背光板的作用是什麼呢?

Review the writing software with characteristics

Map collection

使用深度学习进行生物网络分析

A Generic Deep-Learning-Based Approach for Automated Surface Inspection-論文閱讀筆記

Map集合
随机推荐
redis在项目中的使用
200. 岛屿数量
AGCO AI frontier promotion (6.30)
爱可可AI前沿推介(6.30)
串行通信接口8250
21、wpf之绑定使用小记
STM32 porting the fish component of RT thread Standard Edition
AutoCAD - len command
Embedded sig | multi OS hybrid deployment framework
Subtrate 源码追新导读-5月上旬: XCM 正式启用
R语言ggplot2可视化:使用ggplot2可视化散点图、使用scale_color_viridis_d函数指定数据点的配色方案
MySQL 表的内连和外连
治数如治水,数据治理和数据创新难在哪?
Vscode select multiple words
Multiparty cardinality testing for threshold private set-2021: Interpretation
Using cookie technology to realize historical browsing records and control the number of displays
TypeScript ReadonlyArray(只读数组类型) 详细介绍
[cf] 803 div2 B. Rising Sand
又被 Kotlin 语法糖坑惨的一天
OpenMLDB Meetup No.4 会议纪要