Re: Enforcing hierarchial tree integrity



On Thu, 28 Jul 2005 20:20:09 GMT, Peter Griffin <peter@xxxxxxx> wrote:

>Basically, when a node is deleted then all of it's children (if any)
>should get deleted too. I suspect this needs to be done using a delete
>trigger.

Just create the constraint with on delete cascade.
That is all there is to it.


--
Sybrand Bakker, Senior Oracle DBA
.



Relevant Pages