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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to tell what delete_rule in user_constraints

Re: How to tell what delete_rule in user_constraints

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Thu, 25 Aug 2005 06:43:38 +0200
Message-ID: <62jqg1pce52cdtqa9jj7h9qtsc1cjcg47f@4ax.com>


On 24 Aug 2005 18:20:48 -0700, "dominica_at_gmail.com" <dominica_at_gmail.com> wrote:

>Hi All,
>
>
> There is an interesting question come up in my work.
>
>In my work, there is different kind of DELETE_RULE, like
>"ON DELETE CASCADE" and "ON DELETE SET NULL".
>
>But after create table with these 2 different constraints,
>if you query the user_constraints.delete_rule,
>you will only see "CASCASE" and "NO ACTION" in that column.
>
>So my question is who to distinguish between "ON DELETE SET NULL" and
>the really "NO ACTION" constraints.
>
>I am wondering whether there is other V$ table I could look at .
>
>
>
>
>Thanks,
>
>
>Dominica

There is a bug in 8i on this one, the dictionary view is incorrect. Metalink has the code to replace it.

--
Sybrand Bakker, Senior Oracle DBA
Received on Wed Aug 24 2005 - 23:43:38 CDT

Original text of this message

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