Advanced PowerBuilder

HomePrevious Lesson: Cursors
Next Lesson: Creating a Cursor

Declaring And Executing a Cursor

To use a cursor in an application, you need to define it using the DECLARE statement. DECLARE statement allows you to define both the cursor name and the associated SQL statement, you want to execute. Simply defining the cursor with the DECLARE statement doesn't automatically execute the specified SQL statement - it's merely a declarative statement.
HomePrevious Lesson: Cursors
Next Lesson: Creating a Cursor