Foros: English (Thread #29137)

DDL Export with named Primary key (2011-04-20 00:58 by Antoine #56952)

Hello,
when I design an ERD diagram and export as DDL, I can see the primary keys are not named constraints.
It appears as ALTER TABLE <my_table> ADD PRIMARY KEY (<my_column>);
However I expect to have ALTER TABLE <my_table> ADD CONSTRAINT <my_constraint> PRIMARY KEY (<my_column>);

Thanks & regards,

Responder al #56952×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Entrar