Hi ,
SQL:
select tran_seq.nextval,fee_acc,curr,
sum(amount) over (partition by fee_acc,curr ) as amt
from tran1
order by fee_acc
error: Sequence Number not Allowed Here.
as per me the only solution is create a function to increment the sequence and use that in select clause.
i think oracle should allow this method. Please share your comments to resolve . thank you
Edited by: Raj,Infant on Mar 20, 2013 11:43 PM