what are the advantages of cursors than procedures?

Answer Posted / somashekhar m

By using cursors It is possible to fetch row by row, when
user might want to work with rows one at a time. But not
possible with SQL standard statements it is not possible to
go row by row fetching.
A cursor can be defined as is a set of rows together with a
pointer that identifies a current row.

in ACID cursor works for consistency of the data.

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the types of subquery? : Sql dba

584


What is the order of sql select?

572


what are the advantages of mysql in comparison to oracle? : Sql dba

525


How many types of sql are there?

523


what are the features and advantages of object-oriented programming? : Sql dba

541






How does pl sql work?

520


How is data stored in sql?

547


How to fetch values from testtable1 that are not in testtable2 without using not keyword?

750


how to drop an existing index in mysql? : Sql dba

533


What is the main difference between sql and pl/sql?

558


Where not exists in sql?

503


Explain constraints in sql?

569


what are string data types? : Sql dba

510


what is normalization? : Sql dba

559


What is the maximum number of rows in sql table?

543