Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: How to get available IDs?
Hi Brian. Available means not yet used. This is why I subtract the set of all emp_no that I can find in table emp from the set of all available numbers (0 to 999). If I have three emploees with emp_no 1, 2 and 4 I want to get the numbers 0,3,5,6,7 and so on to 999. Do you have a better solution than the way I have used?
To all the others reading this: Please see my original question to see it in complete.
Sent via Deja.com
http://www.deja.com/
Received on Wed Jan 17 2001 - 05:20:49 CST