Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: YentheO on February 16, 2012, 12:42:50 am
-
Hi,
I'm trying to reproduce the DDL generation of tables with a custom code generation template. I am unable to figure out how to generate field types with a specific length.
%attName% %attType% %attLength ? (attLength) : ""% %attAllowDuplicates == "T" ? "NOT NULL" : "NULL"%
Can someone please help me to generate the right values between the parenthesis.
Thanks in advance!