what is the difference between cursor FETCH and FOR LOOP ?

Answer Posted / kiran kumar

The cursor FOR LOOP implicitly declare loop index as a
record of %ROWTYPE open a cursor implicity and repeatedly
fetch the records from the active set into the field of
record, then close the cursor implictly all rows have been
processed.
In case of cursor FETCH explicity open a cursor, fetch the
records and close the cursor.

Is This Answer Correct ?    26 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the qualities of 2nf?

541


what are date and time data types in mysql? : Sql dba

495


What does select * from mean in sql?

1984


What is group by in sql?

544


Can we enter data in a table in design view?

514






What are dml commands?

524


What does the file extension accdb stand for?

545


Which function is used to return remainder in a division operator in sql?

580


What is a schema sql?

529


how to increment dates by 1 in mysql? : Sql dba

539


Why do we use sqlite?

529


how can we know the number of days between two given dates using mysql? : Sql dba

539


What is pl sql architecture?

496


Can we use threading in pl/sql?

513


what is the difference between truncate and delete statement? : Transact sql

538