i have a requirement where in i need to get the sequence numbers and use it for various purposes, when i use the lookup with oracle enterprise with sparse, its returning NULL. my sql is like this
select mdm_seq.nextval as TASKID, '1' as dummy from DUAL;
i also use dummy variable in the source file and hard coded that as '1' too, thought i needed to do this so lookup link can find a match in the input source, but it doesnt return the seq number. any help?
LookUp returning NULL when reading a seqval from dual
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Are you (the executing user - the user ID used to connect to Oracle) the owner of this particular sequence? You may need to qualify the sequence name with its owner's identity.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.