HELP cursor [message #369758] |
Thu, 05 October 2000 09:37 |
Martin Johansson
Messages: 11 Registered: October 2000
|
Junior Member |
|
|
Hi..
Is it possible to do a select on a cursor.
Example:
nr_1 VARCHAR2(3);
CURSOR curs IS
SELECT anst,nr FROM mytable;
FOR i in curs LOOP
nr_1 := SELECT SUBSTR(i.nr,1,3) FROM curs <= ???
...
...
END LOOP;
Any help would be heplful
/Martin
|
|
|
Re: HELP cursor [message #369759 is a reply to message #369758] |
Thu, 05 October 2000 09:39 |
Highlander
Messages: 5 Registered: October 2000
|
Junior Member |
|
|
nr_1 VARCHAR2(3);
CURSOR curs IS
SELECT anst,nr FROM mytable;
FOR i in curs LOOP
nr_1 := SUBSTR(i.nr,1,3)
...
...
END LOOP;
|
|
|