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: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Thu, 07 Mar 2002 19:24:38 +0100
Message-ID: <01cf8u8eucesmufs377hdtntrf5it25co1@4ax.com>


On Thu, 07 Mar 2002 16:10:18 GMT, 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.
>
>
>
>
>

No, as you provide no clues to resolve it. No platform, no version etc, etc, etc.

Regards

Sybrand Bakker, Senior Oracle DBA

To reply remove -verwijderdit from my e-mail address Received on Thu Mar 07 2002 - 12:24:38 CST

Original text of this message

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