Skip site navigation (1) Skip section navigation (2)

Alter table to add foreign key

From: Jason Tan Boon Teck <tanboonteck(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Alter table to add foreign key
Date: 2011-08-12 04:11:04
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
What is the full syntax of SQL to add foreign key to an existing table?

The online manual's syntax looks very simple compared to what I can achieve
with manually adding by phpPgAdmin.

Jason Tan Boon Teck


pgsql-novice by date

Next:From: Douglas HydeDate: 2011-08-12 08:24:42
Subject: new install, can't use - need password for postgres user
Previous:From: Tom LaneDate: 2011-08-11 21:31:08
Subject: Re: Backup Server Error "might need to increase max_locks_per_transaction"

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group