|
|
Re: Update of a Primary Key and Foreign Key [message #372997 is a reply to message #371725] |
Wed, 21 March 2001 17:01 |
Manoj
Messages: 101 Registered: August 2000
|
Senior Member |
|
|
Hi Sandeep,
I saw Ur response in the faq posting regarding the Update-cascade.
I need the same task to perform. (Update Master table's Primary key, and the detail tables are updated automatically!)
But I wonder, Is there any constraint named 'On update cascade'
I know there is one for delete but what about Update
---
SQL> create table x2 (no number references master(no) on update cascade);
create table x2 (no number references master(no) on update cascade)
*
ERROR at line 1:
ORA-00905: missing keyword
---
would you mind to clarify.
Thanks
Manoj !
|
|
|