I have a RIGHT JOIN that returns me the correct number of rows. Can I use this within an existing query? The query (and syntax error returned) below
Syntax error: missing right parenthesis
Cheers,
Dave
"Yes, I'll stop finding bugs in the software - as soon as you stop writing bugs into the software." <-- Me
For all your testing needs: Forum1393
Code:
select ba.ACCOUNTNUMBER, pp.CATALOGUEPRODUCTID
from ccsowner.bsbbillingaccount ba,
ccsowner.bsbportfolioproduct pp
Where rownum < 1000
And exists (select ba_pri.ACCOUNTNUMBER
from ccsowner.bsbbillingaccount ba_pri right join ccsowner.bsbportfolioproduct pp_pri on ba_pri.PORTFOLIOID = pp_pri.PORTFOLIOID order by ba_pri.ACCOUNTNUMBER)
and ba.PORTFOLIOID = pp.PORTFOLIOID
and pp.STATUS = 'EN'
Syntax error: missing right parenthesis
Cheers,
Dave
"Yes, I'll stop finding bugs in the software - as soon as you stop writing bugs into the software." <-- Me
For all your testing needs: Forum1393