Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Subselect questions
The error is Invalid Identifier -- which is because I assume its out of scope, but I need it there.
Thanks
"MD" <md_at_md.com> wrote in message news:H1d1g.16527$IZ2.13038_at_dukeread07...
Hi,
I'm using 9i and I have this join in a procedure:
INNER JOIN
( Select EscPer.escalationpercent, EscPer.headerid From delta.tblriversegescalation EscPer INNER JOIN ( Select MAX(EffectiveDate) as EffectiveDate, HeaderID From delta.tblriversegescalation seg Where trunc(seg.effectivedate) <= trunc(vTripStartDate) Group By HeaderID ) MaxEsc ON MaxEsc.EffectiveDate = EscPer.EffectiveDate and MaxEsc.headerid = EscPer.headerid ) SegEsc
My question is,
Is there any way to have a local variable declared in a subselect?
Thanks,
MD
Received on Tue Apr 18 2006 - 16:43:09 CDT
![]() |
![]() |