Setting unique constraints.

From: Anil Jangam <anilj(at)indts(dot)com>
To: "'Dave Page'" <dpage(at)vale-housing(dot)co(dot)uk>, pgsql-cygwin(at)postgresql(dot)org
Subject: Setting unique constraints.
Date: 2001-12-18 06:13:22
Message-ID: F73B646FCC01D5118F530002B32C337263B252@INDTS_FS
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Hi,

Is there any way to apply the unique constraint on the attribute of a table
through the pgAdmin?. This certainly other than applying the primary key
constraint on the attribute.

To set the foreign key relationship it is the basic requirement that the
referenced attribute should be a primary key in the referenced table.

Can I achieve FK relationship without making it a primary key?? Because I
have already defined a PK, which does not contain the referenced attribute.
If it is possible to have a unique attribute rather having PK and then
achieve the FK.

I am new to the relational world, and is in learning phase.

regds,
-anil.

Browse pgsql-cygwin by date

  From Date Subject
Next Message Dave Page 2001-12-18 08:57:49 Re: Setting unique constraints.
Previous Message Jason Tishler 2001-12-17 15:42:01 Re: Platform Testing - Cygwin