State the advatage and disadvantage of Cursor's?

Answers were Sorted based on User's Feedback



State the advatage and disadvantage of Cursor's?..

Answer / shilpa.oracle

Advantage:
Using cursors we can retrieve multiple records in a plsq block.

Disadvantage:
switching between the plsql statement executor and sql
statement executor at plsql runtime engine will consume time.

Is This Answer Correct ?    7 Yes 1 No

State the advatage and disadvantage of Cursor's?..

Answer / swapna

advantage :

In pl/sql if you want perform some actions more than one
records you should user these cursors only. By using these
cursors you process the query records. you can easily move
the records and you can exit from procedure when you
required by using cursor attributes.


disadvantage:

using implicit/explicit cursors are depended by Situation.
If the result set is les than 50 or 100 records it is
better to go for implicit cursors. if the result set is
large then you should use exlicit cursors. other wise it
will put burdon on cpu.

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More SQL PLSQL Interview Questions

Name the operator which is used in the query for pattern matching?

0 Answers  


how do you know if your mysql server is alive? : Sql dba

0 Answers  


Explain how can you save or place your msg in a table?

0 Answers  


What do you understand by pl/sql records?

0 Answers  


What is normalization sql?

0 Answers  






Why is stored procedure faster than query?

0 Answers  


Why is sharding used?

0 Answers  


How to read/write files from pl/sql?

0 Answers  


Differences between UNIQUE and DISTINCT in select statements

26 Answers   ABS, DELL, Deloitte, Hewitt, Oracle, Verinon Technology Solutions, Wipro,


how to write utl file pkg in SQL

1 Answers   Oracle,


Can we have two clustered index on a table?

0 Answers  


PL/SQL allocates memory for the variable's at runtime or at compile time

3 Answers  


Categories