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

What is pl sql record in oracle?

0 Answers  


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

0 Answers  


Which table is left in left join?

0 Answers  


Explain exception handling in pl/sql?

0 Answers  


which will fire first ? Trigger or Constraint

24 Answers   i2, IBM,






How to write html code in pl sql?

0 Answers  


What is autocommit sql?

0 Answers  


What is difference between left and right outer join?

0 Answers  


How to make a copy values from one column to another in sql?

0 Answers  


Mention what is the use of function "module procedure" in pl/sql?

0 Answers  


What are the attributes of SQL*PLUS ?

2 Answers   Dream Careers, Oracle,


What is bulk compiling in pl/sql.?

0 Answers   MCN Solutions,


Categories