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: Explain Plan Failure due to bind variable

Re: Explain Plan Failure due to bind variable

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Thu, 07 Mar 2002 19:04:25 +0000
Message-ID: <3C87B9B9.305@yahoo.com>


1443131_at_usenetplanet.com wrote:
>
> In some cases, explain plan like below fails due to undeclared bind
> variable in session.
>
> explain plan set statement_id = 'some_id'
> for select * from some_table where some_column = :SOME_BIND_VARIABLE;
>
> However, in some cases it works even though the bind variable is not
> declared in current session. I have no clue what makes this
> difference. Could somebody enlighten me why? Thank you in advance.

Maybe you could post the error text etc.

-- 
==============================
Connor McDonald

http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue..."
Received on Thu Mar 07 2002 - 13:04:25 CST

Original text of this message

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