Hi, I used the following in my stored procedure
and when I compile it, I got
SQL0104N An unexpected token "CONTINUE" was found following "daref: LOOP
". Expected tokens may include: "COMMIT". LINE NUMBER=501. SQLSTATE=42601
I remove
it compiled ok.
my db2 version is 9.7, what am I missing here? Thank you.
Code:
fetch_loop_daref:
LOOP
CONTINUE;
END LOOP fetch_loop_daref;
CLOSE v_getdaref_cur;
SQL0104N An unexpected token "CONTINUE" was found following "daref: LOOP
". Expected tokens may include: "COMMIT". LINE NUMBER=501. SQLSTATE=42601
I remove
Code:
CONTINUE;
my db2 version is 9.7, what am I missing here? Thank you.