adspace


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 is your daily office routine?

2353


what is sql server agent? : Sql dba

1188


Can we rollback truncate?

1083


If a cursor is open, how can we find in a pl/sql block?

1252


what are aggregate and scalar functions? : Sql dba

1142


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2102


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

1065


Can we use distinct and group by together?

1146


Can delete statement be rollbacked?

1065


what is dbms? : Sql dba

1070


define sql insert statement ? : Sql dba

1110


Is primary key always clustered index?

1101


Do we need to rebuild index after truncate?

1154


what is collation? : Sql dba

1242


How do I remove duplicates in two columns?

1202