[odb-users] Enforcing primary key in 1-N relationship
Davide Anastasia
Davide.Anastasia at qualitycapital.com
Tue Nov 27 07:50:25 EST 2012
Would you consider this as a feature request? :)
Cheers,
D.
-----Original Message-----
From: Boris Kolpackov [mailto:boris at codesynthesis.com]
Sent: 27 November 2012 13:08
To: Davide Anastasia
Cc: odb-users at codesynthesis.com
Subject: Re: [odb-users] Enforcing primary key in 1-N relationship
Hi Davide,
Davide Anastasia <Davide.Anastasia at qualitycapital.com> writes:
> I wonder whether there is a method to enforce that every value in the
> "employer_employees" table is also primary key (avoid duplication).
At the moment the only way that I can think of is manually via the ALTER
TABLE ADD CONSTRAINT statement.
Boris
More information about the odb-users
mailing list