Adding a Foreign Key - Mailing list pgsql-general

From tankgirl@worldonline.es
Subject Adding a Foreign Key
Date
Msg-id 6478774.999494538581.JavaMail.root@macaca.worldonline.es
Whole thread Raw
Responses Re: Adding a Foreign Key
Re: Adding a Foreign Key
List pgsql-general
 Hello everyone,

  I know that a Primary Key can be added to a table before it has been created, doing this...

CREATE UNIQUE INDEX table_pkey ON table (atribute);

  Well I wonder if a Foreign Key can also be added and what syntax does it follow.

  Thankyou in advance.

  Stay Safe & Happy.

   :* TankGirl




pgsql-general by date:

Previous
From: Lincoln Yeoh
Date:
Subject: Re: [WAY OT] Re: PL/java?
Next
From: "Andrew Snow"
Date:
Subject: Re: PL/java?