In DB2, a cursor is primarily used to process ________.

  • Data Rows
  • Indexes
  • Result Sets
  • SQL Statements
In DB2, a cursor is primarily used to process result sets. Cursors allow fetching and processing individual rows from a result set returned by a SQL query. They enable iterative processing of query results, facilitating row-by-row operations within application programs. 
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *