CursorsYou use a cursor to fetch rows returned by a query. You retrieve the rows into the cursor using aquery and then fetch the rows one at a time from the cursor. You typically use the following fivesteps when using a cursor:1. Declare variables to…
When Oracle Database executes a SQL statement, it stores the result set and processing information in an unnamedprivate SQL area. A pointer to this unnamed area, called acursor, lets youretrieve the rows of the result set one at a time.Cursor attribu…