To use server cursors, you must set cursor options to values other than their defaults. For more information, see Setting Cursor Options.
Or
Prepare a statement once, then execute it multiple times. For more information, see Preparing and Executing Statements.
Or
Call a catalog function, which returns results.
Or
Process the results of a statement using a scrollable cursor. For more information, see Using Scrollable Cursors.
Or
Call SQLRowCount to determine the number of rows affected by an insert, update, or delete statement.
To reuse the statement handle, go to step 2.