Skip to Content
0
May 29, 2008 at 07:29 AM

About cursor

370 Views

HI:

I have a question about cursor, of which the source code as follow:

_____________________________________________________________

......

data: lc_cursor type cursor.

open cursor with hold lc_cursor for

select *

from TABLE.

do.

refresh LIT_TABLE.

fetch next cursor lc_cursor into table LIT_TABLE

package size n.

......

enddo.

________________________________________________________________

when debug, the program will crash.

Why? And how to deal with it?

Thanks!