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: LNNVL function

Re: LNNVL function

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Sun, 02 Nov 2003 09:38:09 -0800
Message-ID: <1067794711.901677@yasure>


Jonathan Lewis wrote:

>As Richard pointed out,
>
> lnnvl(predicate) is true
>if predicate is false or null.
>
>I can't say "for sure", but I believe
>it appeared somewhere around 7.3, or
>maybe 7.2 to handle problems arising
>from the SQL generated by a query co-ordinator
>for its parallel query slaves when Oracle was
>trying to get partition elimination on partition views.
>
>(And if it really is there for PQ problems, I'd
>second Richard's advice - don't use it, you
>never know when it's going to disappear).
>
>
>--
>Regards
>
>Jonathan Lewis
>http://www.jlcomp.demon.co.uk
>
> The educated person is not the person
> who can answer the questions, but the
> person who can question the answers -- T. Schick Jr
>
>
>One-day tutorials:
>http://www.jlcomp.demon.co.uk/tutorial.html
>____Belgium__November (EOUG event - "Troubleshooting")
>____UK_______December (UKOUG conference - "CBO")
>
>
>Three-day seminar:
>see http://www.jlcomp.demon.co.uk/seminar.html
>____UK___November
>
>
>The Co-operative Oracle Users' FAQ
>http://www.jlcomp.demon.co.uk/faq/ind_faq.html
>
>
>"Rob Cowell" <rjc4687_at_hotmail.com> wrote in message
>news:3FA1490E.C51D2C5_at_hotmail.com...
>
>
>>Anyone got any ideas.
>>
>>SELECT 1 FROM DUAL
>>WHERE LNNVL(1=2)
>>
>>returns
>>
>>1
>>
>>Suggesting that LNNVL(1=2) evaluates to true
>>
>>But LNNVL(1=1) evaluates to false
>>
>>I assume there must be some NULL processing going on too because of
>>
>>
>the
>
>
>>function name.
>>
>>It seems totally undocumented and there's only one unhelpful mention
>>
>>
>on
>
>
>>Metalink.
>>
>>Anyone know for sure what it does?
>>
>>

Thanks. But this still leaves open a question. Where is it hidden? It isn't a stand-alone object.
It isn't in a package? It isn't in any source code in \rdbms\admin. The only place I can find any
reference to it is inside oracle.exe.

Thanks.

-- 
Daniel Morgan
http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp
http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Sun Nov 02 2003 - 11:38:09 CST

Original text of this message

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