Re: stored procs

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: stored procs
Дата
Msg-id CAF-3MvPgDxHtbG3Y5D69dxa4NZ6XkMrDAckOGoCE_bairg200Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: stored procs  ("J.V." <jvsrvcs@gmail.com>)
Список pgsql-general
On 30 September 2011 11:20, J.V. <jvsrvcs@gmail.com> wrote:
> For tables that already exist and have a foreign key relationship, is there
> an equivalent alter statement for the statement below?
>
> Does this mean that if table xxx.id primary key value changes, the foreign
> key value will change as well?

They do if you tell them to CASCADE on UPDATE.

--
If you can't see the forest for the trees,
Cut the trees and you'll see there is no forest.

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

Предыдущее
От: "J.V."
Дата:
Сообщение: Re: stored procs
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: stored procedures (packages)