powerdesigner

PowerDesigner 使用教程(很具体,很实用)

柔情痞子 提交于 2020-02-06 03:17:39
原文地址为: PowerDesigner 使用教程(很具体,很实用) 1、 PowerDesigner 使用教程 从今日开始,每天一部分内容,在每个工作日,争取让大家天天都有的看,每天内容不会太多。 有错误的地方还请大家指正。 PowerDesigner简介   PowerDesigner是Sybase公司的CASE工具集,使用它可以方便地对管理信息系统进行分析设计,它几乎包括了数据库模型设计的全过程。利用PowerDesigner可以制作数据流程图、概念数据模型、物理数据模型,可以生成多种客户端开发工具的应用程序,还可为数据仓库制作结构模型,也能对团队设计模型进行控制。它可与许多流行的数据库设计软件,例如:PowerBuilder,Delphi,VB等相配合使用来缩短开发时间和使系统设计更优化。 PowerDesigner主要包括以下几个功能部分:   (1) DataArchitect 这是一个强大的数据库设计工具,使用DataArchitect可利用实体-关系图为一个信息系统创建"概念数据模型"-CDM(Conceptual Data Model)。并且可根据CDM产生基于某一特定数据库管理系统(例如:Sybase System 11)的"物理数据模型"-PDM(Physical Data Model)。还可优化PDM

Add a comments for tables columns in a physical data diagram

旧巷老猫 提交于 2020-01-14 19:16:06
问题 I can see my column comments through double-clicking on table and selecting a Columns tab. But when I choose Display Preferenses-> Table-> Advanced...-> Columns-> List Columns [select] - I cant't find this attribute "Comment" there. Is it possible to add the attribute ColumnComment from the model to be shown in Physical Diagram, and how? 回答1: You can't add it directly because they are rtf texts not simple strings, so this kind of attributes are not listed. But there is a workaround! You can

Add a comments for tables columns in a physical data diagram

落爺英雄遲暮 提交于 2020-01-14 19:15:28
问题 I can see my column comments through double-clicking on table and selecting a Columns tab. But when I choose Display Preferenses-> Table-> Advanced...-> Columns-> List Columns [select] - I cant't find this attribute "Comment" there. Is it possible to add the attribute ColumnComment from the model to be shown in Physical Diagram, and how? 回答1: You can't add it directly because they are rtf texts not simple strings, so this kind of attributes are not listed. But there is a workaround! You can

Add a comments for tables columns in a physical data diagram

断了今生、忘了曾经 提交于 2020-01-14 19:15:26
问题 I can see my column comments through double-clicking on table and selecting a Columns tab. But when I choose Display Preferenses-> Table-> Advanced...-> Columns-> List Columns [select] - I cant't find this attribute "Comment" there. Is it possible to add the attribute ColumnComment from the model to be shown in Physical Diagram, and how? 回答1: You can't add it directly because they are rtf texts not simple strings, so this kind of attributes are not listed. But there is a workaround! You can

Add a comments for tables columns in a physical data diagram

别等时光非礼了梦想. 提交于 2020-01-14 19:14:56
问题 I can see my column comments through double-clicking on table and selecting a Columns tab. But when I choose Display Preferenses-> Table-> Advanced...-> Columns-> List Columns [select] - I cant't find this attribute "Comment" there. Is it possible to add the attribute ColumnComment from the model to be shown in Physical Diagram, and how? 回答1: You can't add it directly because they are rtf texts not simple strings, so this kind of attributes are not listed. But there is a workaround! You can

powerDesigner如何动态显示mysql数据库表结构

扶醉桌前 提交于 2020-01-11 20:48:45
原文链接: http://jingyan.baidu.com/article/e5c39bf5d64efa39d760333c.html 有时候,由于数据库中的表太多,主外键关系复杂,对数据库的非设计人员来说,很难快速理清数据库中的表结构,该怎么办?这时我们就可以使用powerDesigner这款软件帮助我们整理数据库的表结构。 本文将介绍如何使用此软件,把mysql数据库中的表结构以图表的形式形象的展现出来,并展示出主外键关系。听起来很高大上的样子,小编也是刚学会,好东西就要跟大家分享一下,供大家参考和学习。那么到底该如何操作哪?小编做了一下总结,大致分为三步。第一步是下载并安装mysql的ODBC驱动程序。第二步是配置mysqlODBC数据源。第三步是在powerDesigner软件中访问mysql数据库。 步骤阅读 步骤阅读 百度经验:jingyan.baidu.com 一、下载并安装mysqlODBC驱动程序 1 下载并安装mysql的ODBC驱动程序。请参照下面的文章“mysql的ODBC驱动如何下载及安装”。如果已经安装好了此驱动,请略过此步骤。 链接: 0 mysql的ODBC驱动如何下载及安装 步骤阅读 END 百度经验:jingyan.baidu.com 二、配置mysqlODBC数据源 1 配置mysqlODBC数据源。请参照文章

PowerDesigner设置MYSQL主键自动增长的方法

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-09 20:32:46
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 我一直用的是Oracle数据库,所以在设计CDM的时候,就没有选定表主键自动增长。这是SQL Server和MYSQL才有的方式。Oracle中一般是采用SEQUENCE的方式来处理主键增长的问题的。相对写程序来说,Oracle的处理方式比较复杂一点。 打开PDM,选中一张表,双击打开表属性,选择Columns列,选中主键字段,双击打开,界面的最下方右下角有一个Identity,选中这个之后,生成的表主键就是自动增长的了。 要一个表一个表的手工去修改。这要改到什么时候啊! 在google上搜索了一下,发现居然有很多人碰到这个问题,还有一个vbs的脚本执行一次就解决了。大家可以去搜索一下,脚本名字叫SetIdentity.vbs。 在PD中执行脚本方法也很简单,Tools——Excecute Commands——Edit/Run Scripts。 另外还有一个脚本,是用来把字段的name统一设置为数据库字段的comments字段内容的name2comment.vbs代码。也很好用。(一般name都是中文描述,code就是代码) 来源: oschina 链接: https://my.oschina.net/u/4347/blog/168

Generate UML from a conceptual data model

随声附和 提交于 2020-01-06 08:41:46
问题 I have an conceptual data model (Relational model) created using powerAMC for my database but i wanted to generate DAO from it using acceleo and for that i need it in UML , is there a way to generate UML from a conceptual data model model ? 回答1: Acceleo can generate code from any models defined with any EMF based metamodel . The UML project of the Eclipse Foundation defines an UML metamodel based on EMF so that users can create UML models based on EMF and Acceleo can thus generate code from

数据库建模工具(PowerDesigner)

百般思念 提交于 2020-01-03 08:39:47
一 定义 是一个数据库建模工具 是Sybase的企业建模和设计解决方案 , 采用模型驱动方法 , 将业务与IT结合起来 , 可帮助部署有效的企业体系架构 , 并为研发生命周期管理提供强大的分析与设计技术 二 信息概述 使用它可以方便地对管理信息系统进行分析设计 , 它几乎包括了数据库模型设计的全过程 使用它可以制作数据流程图 , 概念数据模型 , 物理数据模型 , 还可以为数据仓库制作结构模型 , 也能对团队设计模型进行控制 三 功能 1 Data Architect 可利用实体-关系图为一个信息系统创建”概念数据模型” 2 Process Analyst 这部分用于创建功能模型和数据流图 , 创建处理层次关系 3 APP Modeler 为客户/服务器应用程序创建应用模型 4 ODBC Administrator 此部分用来管理系统的各种数据源 四 4中模型 * 1 概念数据模型(CDM) 是最终用户对数据存储的看法 , 反映了用户的综合性信息需求 CDM表现数据库的全部逻辑结构 , 与任何的软件或数据存储结构无关 CDM是适合于系统分析阶段的工具 2 物理数据模型(PDM) PDM是数据库的物理实现 PDM是适合于系统设计阶段的工具 主要目的是吧CDM中建立的现实世界模型生成特定的DBMS脚本 , 产生数据库中保存信息的存储结构 , 保证数据在数据库中的完整性和一致性 3

PowerDesigner 表格导出为excel

一世执手 提交于 2019-12-30 18:18:47
选中tables ctrl + shift +x 然后运行脚本 '****************************************************************************** Option Explicit Dim rowsNum rowsNum = 0 '----------------------------------------------------------------------------- ' Main function '----------------------------------------------------------------------------- ' Get the current active model Dim Model Set Model = ActiveModel If (Model Is Nothing) Or (Not Model.IsKindOf(PdPDM.cls_Model)) Then MsgBox "The current model is not an PDM model." Else ' Get the tables collection '创建EXCEL APP dim beginrow DIM EXCEL, SHEET, SHEETLIST set