Previous Topic: Using Indicator Variables in Data ManipulationNext Topic: Declaring a Cursor


Using a Cursor

In application programming, a cursor is an SQL construct that the program uses to process data in a result table. The cursor declaration defines the result table. Once the program declares the cursor, the program can open the cursor and sequentially fetch one row at a time from the result table.