What is the use of cursor ? how cursor allocate context area for executing the sql statement?

Answer Posted / sowmya

Hi
cursors allow row -by-row processing of the resultsets
Types of cursors are: static,dynamic,
forward-only,keyset-driven,

disadvantages of cursors are : each time you fetch a row
from the cursor,it results in a network roundtrip,where are
as normal select query makes only one round trip
cursors are costly as they need temparory storage.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sqlca in powerbuilder?

746


how to check myisam tables for errors? : Sql dba

883


when MSQL8.0 is in market

1774


what is the different between now() and current_date()? : Sql dba

703


What are the benefits of pl sql?

768






How to sort the rows in sql.

812


what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba

751


What is a mutating table and a constraining table?

758


What is cursor in pl sql with examples?

674


What is benefit of creating memory optimized table?

703


How to convert comma separated string to array in pl/sql?

812


What are the two virtual tables available at the time of database trigger execution?

878


what is the difference between truncate and delete statement? : Transact sql

776


Explain what is dbms?

787


What is exception? What are the types of exceptions?

790