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: Question on Hierarchy

Re: Question on Hierarchy

From: Noons <wizofoz2k_at_yahoo.com.au>
Date: Wed, 20 Aug 2003 20:40:37 +1000
Message-ID: <3f435042$0$10357$afc38c87@news.optusnet.com.au>


Oh yes: I'll bet you never saw a sub-query used inside a NVL function, eh?
It works and very well.

--
Cheers
Nuno Souto
wizofoz2k_at_yahoo.com.au.nospam
"Noons" <wizofoz2k_at_yahoo.com.au> wrote in message news:73e20c6c.0308192242.2fe3f007_at_posting.google.com...
> SQL> select

> 2 nvl((select 'Y' from dual where exists
> 3 (select 1 from zot
> 4 where f2 = 'd'
> 5 connect by prior f2 = f1
> 6 start with f1 = 'a')),'N')
> 7 from dual;
Received on Wed Aug 20 2003 - 05:40:37 CDT

Original text of this message

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