What am I doing wrong?
I try to get a sequencenumber by using the following SQL-Statement in a PL/SQL-Function/Procedure:
SELECT SEQ_UPVerbindungen.Nextval INTO UPVID FROM DUAL;
UPVID is of the right type, but I get the following error:
ORA-01422 exact fetch returns more then requested number of rows
I also tried DISTINCT, but it didn't work either :-(
The sequence is designed with increment 1 and Nocache option.
I'm desperately looking for help. Even though it's not absolute correct forum, I hope find some answers here.
Thanks for any ideas!
So long!
I try to get a sequencenumber by using the following SQL-Statement in a PL/SQL-Function/Procedure:
SELECT SEQ_UPVerbindungen.Nextval INTO UPVID FROM DUAL;
UPVID is of the right type, but I get the following error:
ORA-01422 exact fetch returns more then requested number of rows
I also tried DISTINCT, but it didn't work either :-(
The sequence is designed with increment 1 and Nocache option.
I'm desperately looking for help. Even though it's not absolute correct forum, I hope find some answers here.
Thanks for any ideas!
So long!