Delete cascade for multi tables? - Mailing list pgsql-sql

From Zhidian Du
Subject Delete cascade for multi tables?
Date
Msg-id F76s7nlT2NqFJ3sl3xb00000084@hotmail.com
Whole thread Raw
List pgsql-sql
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



pgsql-sql by date:

Previous
From: "Nekta Katz"
Date:
Subject: Re: cast lo to oid
Next
From: "Zhidian Du"
Date:
Subject: No promany key in parent table, how to use delete cascade?