Delete cascade for multi tables?

Поиск
Список
Период
Сортировка
От Zhidian Du
Тема Delete cascade for multi tables?
Дата
Msg-id F76s7nlT2NqFJ3sl3xb00000084@hotmail.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "Nekta Katz"
Дата:
Сообщение: Re: cast lo to oid
Следующее
От: "Zhidian Du"
Дата:
Сообщение: No promany key in parent table, how to use delete cascade?