Hi,
Sorry for not responding until now. I have been ill for a while.
The problem has been solved by our application provider in the latest release. I haven't got the time to work on this problem any longer.
Thank you for your help,
Regards,
Willem
User Profile
Collapse
-
Thanks. I tried the cursor loop before, but I could not get it to work.
The code below does exactly what I want... as long as there is a continuous patient range (Current_pat). As soon as there is a gap, processing stops and I get the "no data found" message.
Maybe this is getting too specific to be discussed here.. in which case I humbly apologize.
Thanks again,
Willem
The rest is...
...Leave a comment:
-
-
Looping over broken range
Hi,
In PL/SQL (Oracle 9i) I need to iterate over a discontinuous range of patient-ID's (numbers).
I need something like
WHILE variable IN (SELECT DISTINCT ....)
LOOP...
However Oracle does not allow using a subquery in this way.
I know in version 11 there is the CONTINUE construct but we do not run 11...
Does anyone have suggestions on how to do this in an other way?...
No activity results to display
Show More
Leave a comment: