delete with cascade

Поиск
Список
Период
Сортировка
От Martín Marqués
Тема delete with cascade
Дата
Msg-id 01050211140201.25070@bugs
обсуждение исходный текст
Ответы Re: delete with cascade
Re: [SQL] delete with cascade
Список pgsql-general
I was reading the manuals on DELETE and I saw this:

By default DELETE will delete tuples in the table specified and all its
sub-tables. If you wish to only update the specific table mentioned, you
should use the ONLY clause.

I just don't understand what sub-tables means. Does it mean that it will
delete rows on other tables which are referenced with a FOREIGN KEY to the
row which will be deleted?

Saludos... :-)

--
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-----------------------------------------------------------------
Martin Marques                  |        mmarques@unl.edu.ar
Programador, Administrador      |       Centro de Telematica
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------

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

Предыдущее
От: pnews@modulo.org
Дата:
Сообщение: underlying structure: varchar vs. text
Следующее
От: "Carl Rosenberger"
Дата:
Сообщение: Re: Thread or not threads?