What cursor type do you use to retrieve multiple recordsets?

Answer Posted / sri

This ans opt for Oracle DB
---------------------------

SYS_REFCURSOR. this is what we called Explicit cursor.

In database if u run any sql statement by default system
will create a cursor. its called "Implicit cursor".

But in PL/SQL, we r using SYS_REFCURSOR to manupulate the
multiple records. that is called Explicit cursor.

Is This Answer Correct ?    15 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is use pl and sql?

642


how does a local variable is defined using t-sql? : Transact sql

640


What is the difference between nested table and varray?

600


Why we use pl sql?

614


What is sqlexception in java?

647






when is the use of update_statistics command? : Sql dba

596


What are the benefits of stored procedures?

608


what is single byte over head in oracle..?

1970


how can we know the count/number of elements of an array? : Sql dba

665


What are the events on which a database trigger can be based?

707


How does sql store data?

568


What is the use of index in hive?

641


How to use distinct and count in sql query? Explain

690


What is pl sql in oracle?

688


What are all the ddl commands?

753