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 / nidhi

yes For Loop will be faster than the open fetch loop

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is faster joins or subqueries?

547


Is postgresql a nosql database?

529


What is rank dense_rank and partition in sql?

532


what happens if null values are involved in expressions? : Sql dba

563


Explain what is a column in a table?

569






Is left join faster than join?

536


What does joining a thread mean?

540


Is stored procedure faster than query?

557


How can you tell the difference between an index and a view?

487


how to start mysql server? : Sql dba

608


What is 19 null in sql?

528


Explain the difference between triggers and constraints?

512


How to change sql*plus system settings?

539


What is left join example?

498


What is the usage of when clause in trigger?

563