why use cursors?

Answers were Sorted based on User's Feedback



why use cursors?..

Answer / suresh kumar somayajula

Cursor : It's a private SQL worksheet area where we can
execute SQL commands and processing information.
The purpose of the Cursor is, PL/SQL execution block will
process only one records means it will return only one
records.If we want to retrieve or process more number of
records we use the "Cursors".
These are of two types.
1. Implicit Cursor 2. Explicit cursors.

Thank you,
Suresh

Is This Answer Correct ?    30 Yes 1 No

why use cursors?..

Answer / aravind

Cursor is used to process multiple rows using pl/sql.

Is This Answer Correct ?    16 Yes 4 No

why use cursors?..

Answer / sri

mainly cursor is used to to process the multiple records
from database

Is This Answer Correct ?    2 Yes 0 No

why use cursors?..

Answer / selvaraj v , anna university c

Cursors allow row-by-row processing of the result sets.
Retrieve more than one rows from table or database to use
Curosrs.

Is This Answer Correct ?    2 Yes 0 No

why use cursors?..

Answer / chandu

to perform multiple rows accessing.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

How would you go about increasing the buffer cache hit ratio? 0. Explain the difference between a hot backup and a cold backup and the benefits associated with each 1. You have just had to restore from backup and do not have any control files. How would you go about bringing up this database? 2. How do you switch from an init.ora file to a spfile? 3. Explain the difference between a data block, an extent and a segment. 4. Give two examples of how you might determine the structure of the table DEPT. 5. Where would you look for errors from the database engine? 6. Compare and contrast TRUNCATE and DELETE for a table. 7. Give the reasoning behind using an index. 8. Give the two types of tables involved in producing a star schema and the type of data they hold. 9. What type of index should you use on a fact table? 10. Give two examples of referential integrity constraints. 11. A table is classified as a parent table and you want to drop and re-create it. How would you do this without affecting the children tables? 12. Explain the difference between ARCHIVELOG mode and NOARCHIVELOG mode and the benefits and disadvantages to each. 13. What command would you use to create a backup control file? 14. Give the stages of instance startup to a usable state where normal users may access it. 15. What column differentiates the V$ views to the GV$ views and how? 16. How would you go about generating an EXPLAIN plan?

2 Answers  


How to fix oracle error ora-00942: table or view does not exist

0 Answers  


what is mean by forward declaration and where we'll use it.

4 Answers   TCS,


What is oracle pl sql developer?

0 Answers  


hi..........i m Accenture employee...Accenture is an IT company having itz branches in India at Mumbai, Pune,Delhi, Hyderabad, Chennai and Bangalore....Presently there are openings here for SAP, Testing, Oracle,Java,.NET,MAinframe and Peoplesoft...... I am a software engineer working with Accenture,Mumbai....u can mail me in your resume..i`ll forward it to our HR team...my mail id: pankit.lodaya@accenture.com

8 Answers   Wipro,






What is the difference between delete and truncate commands?

0 Answers  


Can you skip header records while loading? : aql loader

0 Answers  


What is your daily office routine?

0 Answers   Data Vision,


What is the starting oracle error number? What is meant by forward declaration in functions?

0 Answers  


What is tuple in sql?

0 Answers  


What are the Diff B/W Cursor and REF Cursor

3 Answers   CTS,


what is the different between now() and current_date()? : Sql dba

0 Answers  


Categories