what is the difference between cursor FETCH and FOR LOOP ?

Answer Posted / meher

The main difference between cursor FETCH and FOR LOOP is as
below :
In case of cursor FETCH the cursor will open atleast once
but in case of cursor FOR LOOP the cursor will may or
maynot be open.

Is This Answer Correct ?    31 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are reports usually used for?

762


What do you mean by stored procedures? How do we use it?

712


How do you go back in sql?

701


What does the base_object_type column shows in the user.triggers data dictionary view?

762


what are the advantages a stored procedure? : Sql dba

710






What are the two virtual tables available at the time of database trigger execution?

878


What is a procedure in pl sql?

783


Write a unique difference between a function and a stored procedure.

714


What is the purpose of the primary key?

754


what is rollback? : Sql dba

757


how to fetch alternate records from a table? : Sql dba

825


how to create a new table by selecting rows from another table in mysql? : Sql dba

756


How to return an array from java to pl/sql?

788


What is replication id?

683


How can we find duplicate records in a table?

664