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

How many row comparison operators are used while working with a subquery?

535


How to get list of all tables from a database?

623


What is the use of prepared statement?

536


Can we use commit inside a trigger?

519


tell us something about heap tables. : Sql dba

596






what is bcp? When does it used? : Sql dba

519


What is a column in a table?

548


write an sql query to find names of employee start with 'a'? : Sql dba

575


How long does it take to learn pl sql?

603


How many primary keys can a table have?

532


Is record in oracle pl sql?

529


Can you rollback after commit?

524


What does (+) mean in sql joins?

523


What is embedded sql with example?

542


Does truncate table reset auto increment?

528