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 functions in sql?

654


What are aggregate and scalar functions?

723


How do I count records in sql?

728


What is database migration?

696


Do triggers have restrictions on the usage of large datatypes, such as long and long raw?

890






What is query syntax?

714


How do you write an index?

703


how do you know the version of your mysql server? : Sql dba

690


What is meaning of <> in sql?

796


What is information schema in sql?

761


How do I know if I have sql express or standard?

755


What is pl/sql table? Why it is used?

733


What is meant by user defined function?

761


Show the cursor attributes of pl/sql.

775


what is transaction? : Sql dba

718