Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: cascade keyword

Re: cascade keyword

From: Koetjuh <koetjuhNOkoSPAM_at_yahoo.com.invalid>
Date: Fri, 15 Oct 1999 06:12:52 -0700
Message-ID: <000b8d9b.48f8b5f1@usw-ex0102-015.remarq.com>


Cascade is like a tree.

For example:
You grant access to an user named USR1 and this user creates his own views, tables, etc.,
User USR1 grants access to an user named USR2 and this user also creates his own tables.

If you drop user USR1 with 'DROP USER USR1', only USR1 will be dropped. His tables etc. will still be available. But if you drop user USR1 with 'DROP USER USR1 CASCADE', USR will be dropped, his tables will be dropped AND ---- USR2 will be dropped with its tables!

Same with foreign keys. If you make it cascade and you delete a record, all the childs will be deleted too.

That's the meaning of cascade.

Received on Fri Oct 15 1999 - 08:12:52 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US