From: manidegr8 <engineer.usman@ymail.com>
To: pgsql-sql@postgresql.org
Subject: Deleting entries from multiple tables
Date: Mon, 29 Nov 2010 21:59:01 -0800 (PST)
Message-ID: <1291096741884-3285654.post@n5.nabble.com> (raw)
i am trying to run a query but its not working may be due to constraint
conflicts
i have table A, B and C
B and C have a foreign key linked with A's primary key
so i want to delete an entry from A
for that i hav to delete child records first
can u design a query which wont conflict the constraints..?
Thanks...
Regards.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/Deleting-entries-from-multiple-tables-tp3285654p3285654.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: engineer.usman@ymail.com
Subject: Re: Deleting entries from multiple tables
In-Reply-To: <1291096741884-3285654.post@n5.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox