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: What makes a stored procedure 'INVALID'?

Re: What makes a stored procedure 'INVALID'?

From: Enoch Wong <enochw_at_hknet.com>
Date: Thu, 6 May 1999 23:50:02 +0800
Message-ID: <7gsdn0$btn$1@hfc.pacific.net.hk>


Any change to the underlying objects referenced by a stored procedure would make it 'invalid'. However, an 'invalid' stored procedure will be auto-recompiled whenever referenced.

Jeffrey Mark Braun <jeffb_at_halcyon.com> wrote in message news:7gq077$eqe$1_at_halcyon.com...
> I was trying to look this up in our Oracle documentation, but couldn't
> find it, so maybe someone out there knows the answer.
>
> We use a lot of stored procedures, and I refer to the the user_objects
> table quite a bit, but I noticed that many of the stored procedures listed
> in this table have a status of 'INVALID', yet the procedure runs justs
> fine and appears to have nothing wrong with it.
>
> I can imagine if a stored procedure dependence changes (such as another
> stored procedure, table, etc) then the stored procedure might be flagged
> invalid until reloaded, but I reloaded all of our procedures and I still a
> bunch of marked as invalid, although they're working fine for me.
>
> Anyway, just curious what conditions make a procedure invalid.
>
> Thanks.
>
> -jeff
Received on Thu May 06 1999 - 10:50:02 CDT

Original text of this message

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