Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: jdavid on December 28, 2007, 08:36:48 am

Title: DDL Name Template
Post by: jdavid on December 28, 2007, 08:36:48 am
We are trying to modify the DDL Name Templates

Question
Why does this work for a constraint:
unq_%tablename%__%columnname%

But this does not work for the primary key:
pk_%tablename%__%columnname%

And this does not work for the foreign key:
fk_%foreigntablename%_%columnname%__to__%primarytablename%_%columnname%

it seems for the primary and foreign keys EA does not like to include the columnname

Title: Re: DDL Name Template
Post by: Paolo F Cantoni on December 28, 2007, 04:10:30 pm
Yes,

I think that was my analysis also...  Report a bug... I did, some time (maybe six months) back.

The DDL name templates are not consistent... (EAUI)

Paolo