What are the disadvantages of cursors? How can you avoid
cursors?

Answer Posted / gogune s k

Overload for RAM to process each row and time consuming.
Bulk collect can be used in place of cursors in some cases.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about network model?

583


How to generate OIDS

1660


You have a table with three columns: amount1, amount2, and amount3 in a single row only one of these three columns will have a value and the other two will be null. Write a sql query to retrieve the values from these columns?

544


What is the maximum length of an extended property?

554


Explain about a primary key?

568






What is an application role and explain a scenario when you would use one?

556


Explain the rollup operator?

610


How to use online Backups?

1723


Why does this query return 0?

619


What is data modeling with example?

528


How long can an error message be in raiseerror function?

546


What is dbms and its application?

552


How is data stored in dbms?

518


What are the three basic rules which are to be followed for the relational model of the database?

557


Which four data types cannot be used as a return type from a user-defined function?

577