pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zhidian Du <duzhidian@hotmail.com>
To: pgsql-sql@postgresql.org
Subject: Delete cascade for multi tables?
Date: Thu, 07 Nov 2002 22:36:55 -0700
Message-ID: <F76s7nlT2NqFJ3sl3xb00000084@hotmail.com> (raw)


Hello,

I have several tables and one table is a reference table, all other tables 
are master tablls of this reference table.  One record in these master 
tables have several records in the reference table.

I want to delete cascade when delete one record one reocrd in mater tables 
and delete the releated records in the referecne table.  How can I create 
reference table?

Thanks.

Zhidian Du



_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail




Message-ID: <F76s7nlT2NqFJ3sl3xb00000084@hotmail.com>
Permalink:  ../F76s7nlT2NqFJ3sl3xb00000084@hotmail.com/
Also on:    postgresql.org/message-id/F76s7nlT2NqFJ3sl3xb00000084@hotmail.com

 · 

reply

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: duzhidian@hotmail.com
  Subject: Re: Delete cascade for multi tables?
  In-Reply-To: <F76s7nlT2NqFJ3sl3xb00000084@hotmail.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