Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to tell what delete_rule in user_constraints
> So my question is who to distinguish between "ON DELETE SET NULL" and
> the really "NO ACTION" constraints.
Dominica,
Here's my test:
SQL> alter table child add constraint fk foreign key (a) references parent on delete set null;
Table altered.
SQL> select delete_rule from user_constraints where constraint_name = 'FK';
DELETE_RU
BANNER
Please tell us the version of your database and preferably show your sqlplus screen shot.
Yong Huang Received on Wed Aug 24 2005 - 21:49:47 CDT
![]() |
![]() |