Add ON UPDATE CASCADE to an existing table

Поиск
Список
Период
Сортировка
Искать

Add ON UPDATE CASCADE to an existing table

От:
"Matt Arnilo S. Baluyos" <mbaluyos@sni.ph>
Дата:

hello everyone,

how do i add an ON UPDATE/DELETE CASCADE constraint to an existing table?

Re: Add ON UPDATE CASCADE to an existing table

От:
Sean Davis <sdavis2@mail.nih.gov>
Дата:

On Oct 22, 2004, at 2:50 AM, Matt Arnilo S. Baluyos wrote:
>
> how do i add an ON UPDATE/DELETE CASCADE constraint to an existing 
> table?

Do you mean a foreign key constraint?  I think this may help.

http://www.postgresql.org/docs/current/static/sql-altertable.html

Sean

FAQ