GeekInterview.com
Series: Subject: Topic:
Question: 12 of 58

Cursor Type

Which cursor type do you use to retrieve multiple recordsets?
Asked by: deepakchoubey | Member Since Dec-2008 | Asked on: Dec 14th, 2008

View all questions by deepakchoubey

Showing Answers 1 - 3 of 3 Answers
priyanka066

Answered On : Dec 17th, 2009

View all answers by priyanka066

Explicit cursor

  
Login to rate this answer.
priyanka066

Answered On : Dec 17th, 2009

View all answers by priyanka066

This ans opt for Oracle DB - SYS_REFCURSOR. this is what we called Explicit cursor. In database if you run any sql statement by default system will create a cursor. its called "Implicit cursor". But in PL/SQL, we are using SYS_REFCURSOR to manupulate the multiple records. that is called Explicit cursor.

  
Login to rate this answer.
gakorde

Answered On : Oct 5th, 2010

View all answers by gakorde

These is no cursor types in MySQL as it is in Oracle.

Cursors in MySQL have these properties:

Asensitive: The server may or may not make a copy of its result tableRead only: Not updatable

Nonscrollable: Can be traversed only in one direction and cannot skip rows

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.