使用PowerDesginer创建sql文件
什么是PowerDesginer?
PowerDesigner是 Sybase 的企业建模和设计解决方案,采用模型驱动方法,将业务与IT结合起来,可帮助部署有效的企业体系架构,并为研发生命周期管理提供强大的分析与设计技术。
pj版下载地址
https://www.onlinedown.net/soft/577763.htm
操作步骤
1、创建model
2、添加表
点击表后在白板中点击一下就会出来一个表
3、设计表
切回Standard内的鼠标,双击表,先修改General
再修改Columns
4、导出表
设置导出表注释
添加内容为👇
'******************************************************************************
'* File: name2comment.vbs
'* Purpose: Database generation cannot use object names anymore
' in version 7 and above.
' It always uses the object codes.
'
' In case the object codes are not aligned with your
' object names in your model, this script will copy
' the object Name onto the object Comment for
' the Tables and Columns.
'
'* Title:
'* Version: 1.0
'* Company: Sybase Inc.
'******************************************************************************
结果