Greetings,
How can I refer to a column\field in a cursor via the position of the column rather than by its name?
Psuedo Code (not working):
Thanks,
JT
How can I refer to a column\field in a cursor via the position of the column rather than by its name?
Psuedo Code (not working):
Code:
CURSOR c IS SELECT * FROM emp;
...
FOR rec IN c
LOOP
htp.p('<tr>' ||
'<td>' || rec(1) || '</td>' ||
'<td>' || rec(2) || '</td>' ||
'</tr>');
END LOOP;
Thanks,
JT