Explain uses of cursor.

Answer Posted / shwetha k

A cursor is a pointer to pointing to this memory area and used to retrieve data row by row instead of all row at a time.
select statement fetches only one row.so to overcome this problem cursor is used to hold the set of rows or data in one variable and can do whatever manipulation we want to do.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is offset and limit in sql?

738


Can triggers stop a dml statement from executing on a table?

798


What is Difference Between Unique and Primary Key Constraints?

822


What are analytic functions in sql?

737


What is rownum and rowid?

759






How do I clear the screen in sql plus?

749


What is compilation error in pl sql?

693


what is isam? : Sql dba

763


How do I save the results of sql query in a file?

709


what is an execution plan? When would you use it? How would you view the execution plan? : Sql dba

724


What is the maximum rows in csv?

644


What are basic techniques of indexing?

1067


What is the use of triggers?

732


Why is the cursor important?

728


What is difference between inner join and self join?

776