Advantages and Disadvantages of Cursor?

Answer Posted / navneet chandra

Hi All,

In pl/sql if you want perform some actions more than one
records you should user these cursors only. By using these
cursors you process the query records. you can easily move
the records and you can exit from procedure when you
required by using cursor attributes.


disadvantage:

using implicit/explicit cursors are depended by Situation.
If the result set is less than 50 or 100 records it is
better to go for implicit cursors. if the result set is
large then you should use explicit cursors. other wise it
will put burden on CPU.

Is This Answer Correct ?    19 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can You Use A Stored Procedure To Provide Data To An Ssrs Report?

119


Mention the differences between sql server and mysql.

584


What are the different types of stored procedures?

661


What is policy management?

665


explain the storage models of olap? : Sql server database administration

596






What are the requirements to use odbc connections in php scripts?

688


How to delete multiple rows with one delete statement in ms sql server?

597


What do you mean by normalisation?

593


What are the different authentication modes in sql server? How can it be changed?

662


What stored procedure can you use to display the current processes?

568


what is a traditional network library for sql servers? : Sql server database administration

548


What is raiseerror? What is raiseerror?

737


How to write character string constants or literals in ms sql server?

636


What are the advantages of using stored procedures in sql server?

587


What are the differences between local and global temporary tables?

648