Joy Beginner
Joined: 09 May 2005 Posts: 7 Topics: 6 Location: Kolkata
|
Posted: Mon Jun 13, 2005 2:41 am Post subject: Problem with cursor |
|
|
Hi,
The code given below opens a cursor c1 for making a selection from the table t_cer_grp1.How can I close the cursor C1 at the end of the proc.The conventional close c1 is not working with this sort of cursor
Code: |
FOR_LOOP: FOR each_row AS C1 CURSOR FOR
SELECT group_no FROM RATTH.t_cer_grp1 g1
WHERE LTRIM(RTRIM(g1.tf_tc_indicator)) = v_tf_tc_indicator
DO CALL RATTH.OSDP_SET_LEVEL_PROC(each_row.group_no,v_open_start_date,
v_publication_start_date,v_sqlstate,v_sqlcode,v_output_message);
IF v_output_message <> 'Y' THEN
SET v_success_ind = 'N';
END IF;
END FOR;
|
|
|