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

How many aggregate functions are available there in sql?

699


How to take user input in pl sql?

889


What are literals in sql server?

736


describe mysql connection using mysql binary. : Sql dba

754


What is normalization in a database?

848






How do I run sql?

826


Is natural join and inner join same?

652


How can I get the number of records affected by a stored procedure?

767


Why left join is used in sql?

700


How to run sql statements with oracle sql developer?

791


what is the difference between inner and outer join? Explain with example. : Sql dba

726


How exception is different from error?

762


what are date and time intervals? : Sql dba

759


What is cold data?

678


How can use stored procedures in sql?

773