Hi all, Is there anyway to implement the following cursor so I can have the database return a sequence number. sql in mfg declare myseq cursor for & select trays_seq.nextval from dual cursor myseq designer Platform: Using PH 8.13.D1 Solaris Oracle 7.3.4.4.0 Darren, Thank you.