Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: 10g recycling bin foreign key behavior
Jack wrote:
> I am puzzled about some 10g recyclebin behavior.
>
> I create two simple tables with a foreign key relationship. The foreign
> key includes the CASCADE CONSTRAINTS clause.
>
> Why, when I drop the table referenced by the foreign key does the
> foreign key constraint remain and have a status of ENABLED?
>
> Also, why does this table not appear in the recycle bin?
Ran your demo in 10.2.0.1: My current teaching version:
SQL> purge recyclebin;
Recyclebin purged.
SQL> DROP TABLE dept CASCADE CONSTRAINTS;
Table dropped.
SQL> select object_name, original_name from recyclebin;
OBJECT_NAME ORIGINAL_NAME ------------------------------ ------------------------BIN$wEOn47irQXuHHRmP7waTPg==$0 DEPT_PK
SQL> Are you seeing something different?
-- Daniel A. Morgan University of Washington http://www.psoug.org damorgan_at_x.washington.edu (replace x with u to respond)Received on Thu Oct 13 2005 - 17:22:08 CDT
![]() |
![]() |