Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: juancastellanosm on May 27, 2007, 08:15:02 am
-
Hi
I need to know how I can create a composite unique in the data model.
Thanks
-
Hi Juan,
Do this by creating a constraint that identifies the column and constrains them to be unique.
You will first create the columns normally, without setting the Unique check box. Then create the constraint via the Operations dialog. You will need to name the constraint and set the correct stereotype (when you open the Operations dialog for a Table EA will give you the appropriate list).
Once you've tried this the documentation will start making more sense.
David
-
That works.
Thanks