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

foreign key

From: "Arindam Guha" <arindam_guha(at)hotmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: foreign key
Date: 2000-04-12 19:03:51
Message-ID: (view raw or whole thread)
Lists: pgsql-sql
How to avoid  updation anomaly like this :

While trying to update in the parent table it says child record exists
while trying to update in the child table it says parent record exists

I am trying to update the foreign key column in both the tables ?

Also how to delete a foreign key constraint ?

Get Your Private, Free Email at


pgsql-sql by date

Next:From: D.N.MURTYDate: 2000-04-12 19:16:38
Subject: query from D. N. Murty
Previous:From: Tom LaneDate: 2000-04-12 18:10:50
Subject: Re: UNION support for rules

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