Creating related tables

Поиск
Список
Период
Сортировка
От Ângelo Marcos Rigo
Тема Creating related tables
Дата
Msg-id 20051019123420.65330.qmail@web34413.mail.mud.yahoo.com
обсуждение исходный текст
Ответы Re: Creating related tables  (Michael Glaesemann <grzm@myrealbox.com>)
Re: Creating related tables  ("Kevin Crenshaw" <kcrenshaw@viscient.com>)
Re: Creating related tables  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-novice
Hi

I need to create 1:N related tables .

eg.: table A and a table B.
- table B will have motorcicles
- table A will have motorcicles owners
If a owner is deleted from the table A i need to
delete all the motorcicles with the deleted owner id
in the B table.

What is the sintax in postgesql todo this  ?

Ângelo Marcos Rigo
AMR Informática
(51) 3348 0870
Rua Pe. Alois Kades 400/210
Porto Alegre /RS/Brasil
http://amr.freezope.org
angelo_rigo@yahoo.com.br










_______________________________________________________
Promoção Yahoo! Acesso Grátis: a cada hora navegada você acumula cupons e concorre a mais de 500 prêmios! Participe!
http://yahoo.fbiz.com.br/

В списке pgsql-novice по дате отправления:

Предыдущее
От: Mogin Mohandas
Дата:
Сообщение: bit map indexes in postgres
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: Creating related tables