一. PowerDesigner
1.生成sql带上注释:
(1) Database –> Edit Current DBMS –> General –> MySql5.0 –> Script –> Objects –> Column –> Add –> Value
把原来内容最后的“[ comment %.q:@OBJTLABL
%]]”改成“[ comment %.q:COMMENT%]
]”
(2) Database –> Generate Database –> Format
勾选“Generate name in empty comment”