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

Home -> Community -> Mailing Lists -> Oracle-L -> Corrupted sys.order_object_by_dependency

Corrupted sys.order_object_by_dependency

From: Kirsch, Walter J (Northrop Grumman) <walter.kirsch-eds_at_eds.com>
Date: Mon, 29 Oct 2001 09:56:15 -0800
Message-ID: <F001.003B73B8.20011029095525@fatcity.com>

> HP-UX 11.0 (32bit); Oracle 8.1.7.0.0
>
> I'm swapping between a pair of tables by renaming them. After a few
> swaps, the order_objects_by_dependency view goes sour as evident by my
> "recompile_invalid_objects" script, whose guts is as follows:
>
>
>
> select "alter..."
> from
> sys.order_object_by_dependency dep
> , sys.user_objects obj
> where obj.object_id = dep.object_id
> AND status = 'INVALID'
> order by dep.dlevel desc
> ;
>
>
> sys.order_object_by_dependency dep
> *
> ERROR at line 4:
> ORA-01436: CONNECT BY loop in user data
>
> Can anyone suggest a way of fixing the underlying data without recreating
> the database? Thanks.
>
>
> To keep your marriage brimming,
> with love in the loving cup,
> whenever you're wrong, admit it;
> whenever you're right, shut up.
> -- Ogden Nash
>
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Kirsch, Walter J (Northrop Grumman)
  INET: walter.kirsch-eds_at_eds.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Oct 29 2001 - 11:56:15 CST

Original text of this message

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