Re: Modifying a foreign key constraint?

Поиск
Список
Период
Сортировка
От Marc Branchaud
Тема Re: Modifying a foreign key constraint?
Дата
Msg-id 45CC9AD5.5060103@x2omedia.com
обсуждение исходный текст
Список pgsql-general
Whoops,

> ALTER TABLE foo ADD FOREIGN KEY (foo_bar_id_fkey) REFERENCES bar(id) ON
> DELETE CASCADE;

should be

ALTER TABLE foo ADD FOREIGN KEY (bar_id) REFERENCES bar(id) ON DELETE
CASCADE;

Sorry!

        Marc


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

Предыдущее
От: johnf
Дата:
Сообщение: Re: does anyone have a tool to convert SP'sT-SQL to Postgres
Следующее
От: Marc Branchaud
Дата:
Сообщение: Modifying a foreign key constraint?