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: Invalidated Objects ...

Re: Invalidated Objects ...

From: Ed Bruce <Ed.Bruce_at_ha.hac.com>
Date: Thu, 03 Dec 1998 16:15:28 -0600
Message-ID: <36670D80.12000781@ha.hac.com>


Rajesh Bhave wrote:
> I need to ask this question because I don't have access to Oracle.
> I know that when table is dropped, its dependent objects get
> invalidated. Consider that I have recreated the table again, then do I
> have to drop and create these dependent schema objects again ? Let me
> know.

No. You don't even have to recompile stored procedures. I've used this when I'm upset with a user (not on purpose mind you). We've had to drop and recreate objects and just left he invalid ones around (development system). When the first user calls complaining about something failing I always make a big deal about it and make them recreate the problem. They can't because all the invalid objects have been make valid and the 2nd time they execute the problem is gone.

Or I run:

 execute dbms_utility.compile_schema("schema name");

Just to get everything recompiled.

later,
ed Received on Thu Dec 03 1998 - 16:15:28 CST

Original text of this message

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