![]() | ![]() | Programming Guide |
Fetches the next set of rows associated with the default or named
SELECTcursor
DBMS [ WITH CURSOR cursor ] CONTINUE_DOWN
WITH CURSOR cursor- Name of declared
SELECTcursor. If the clause is not used, Prolifics uses the defaultSELECTcursor.
DBMS CONTINUE_DOWNis identical toDBMS CONTINUE.
// This procedure selects the rows from the table.proc select_all
DBMS DECLARE t_cursor FOR SELECT * FROM titles
DBMS WITH CURSOR t_cursor EXECUTE
return// This procedure fetches the next set of rows.proc get_more
DBMS WITH CURSOR t_cursor CONTINUE_DOWN
return
DBMS CONTINUE
,DBMS CONTINUE_BOTTOM,DBMS CONTINUE_TOP, DBMS CONTINUE_UP,DBMS STORE
![]()
![]()
![]()
![]()