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 inner join in sql?

584


What is a delimiter in sas?

536


How do you delete duplicates in sql query using rowid?

531


Do foreign keys improve performance?

541


Can we declare a column having number data type and its scale is larger than pricesionex: column_name number(10,100),column_name numbaer(10,-84)

535






How do I order by ascending in sql?

534


Is trigger a stored procedure?

498


What is vector point function?

560


What is the difference between distinct and unique in sql?

465


Why use triggers in sql?

493


What is a ddl command?

527


Is postgresql a nosql database?

529


Explain the the delete statements in sql?

573


Explain the order of sql statement execution?

605


How can you get sql*loader to commit only at the end of the load file? : aql loader

546