Hi,
Im using Oracle 9i and writing a PL/SQL function and i need to get the sequence.nextval within the function. I am getting an error saying sequence does not exist. I have tryed the following :
select mySeq.nextval
into v_myvar
from dual;
but I still get the same error message. Is there any way to get the next value in a sequence from within a PL/SQL function.
Any help would be greatly appreciated.
Thanks