Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: On Update Casecade
Duraiswamy wrote:
> Hi,
> How to write on-update-cascade constraint in oracle. My requirement is to
> update the value in primary key column of a table which is having references
> to many child tables. These child tables to be updated immediately after
> updating the parent table.
>
> Thanks in advance
> Duraiswamy
There is no such things as an on-update constraint. Perhaps you are referring to an on update trigger.
But you should never need to update a primary key column.
If something is requiring you to update a primary key redesign your schema or you will likely pay a very heavy price.
Daniel A. Morgan Received on Wed Aug 22 2001 - 12:19:45 CDT