参考资料:模板|中的 DDL 选项企业架构师用户指南 (sparxsystems.com)
本文以mysql为例 包->数据库工程->编辑DDL模板 修改数据库字段使用别名选择Mysql->DDL Column Comment%if ddlOptionCommentLevel != "Column" and ddlOptionCommentLevel != "All"% %endTemplate% $columnComment = %ddlColumnComment% %if $columnComment==""% $columnComment = %ddlColumnAlias% %endIf% %if $columnComment!=""% COMMENT '%REPLACE($columnComment, "'", "''")%' %endIf%
%if ddlOptionCommentLevel != "Table" and ddlOptionCommentLevel != "Column" and ddlOptionCommentLevel != "All"% %endTemplate% $tableComment=%ddlTableLevelComment% %if $tableComment==""% $tableComment = %ddlTableAlias% %endIf% %if $tableComment != ""% COMMENT='%REPLACE($tableComment, "'", "''")%' %endIf%
暑期编程PK赛 得CSDN机械键盘等精美礼品!



