how a reference cursor works?what all adnvantages are
gained with it..specify the situation?

Answer Posted / narendrareddy

Generally, through static cursors we are using only one select statement at a time for single active set area. Whereas, in ref cursor we are executing number of select statements dynamically for single active set area. That’s why these types of cursors are called dynamic cursors.

1) Strong Ref Cursor: Having return type.
2) Weak Ref Cursor: Does not have return type.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of sql?

572


What is the use of count (*) in sql?

557


Why do we use function in pl sql?

567


What is the use of desc in sql?

504


Can we rename a column in the output of sql query?

551






What is an alias command?

587


Define the select into statement.

582


what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba

560


Is sql developer case sensitive?

532


What are different types of triggers?

573


Can I learn sql in a week?

560


Explain autonomous transaction.

644


what is the difference between rownum pseudo column and row_number() function? : Sql dba

624


Is mariadb a nosql database?

557


what is table? : Sql dba

576