In a PL/SQL block,which loop type should be used in a performance point of view & Why (as both loops can do the same task)
1) open - Fetch loop
2) for loop

Answer Posted / monika

for loop is faster then open -fetch loop

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between sql function and stored procedure?

508


State few characteristics of pl/sql?

569


What is cursor and its types?

561


which operator is used in query for pattern matching? : Sql dba

547


Can we commit inside a trigger?

549






What is query execution plan in sql?

571


What are the 3 modes of parameter?

683


What is pl sql in oracle?

585


How to assign sql query results to pl sql variables?

515


Can we use pl sql in sql server?

541


Explain what is a column in a table?

573


Why self join is used in sql?

499


Define overloaded procedure?

624


How many times can we commit in a loop?

568


What is faster join or subquery?

512