How you open and close a cursor variable.Why it is required?

Answer Posted / nishi

OPEN cursor variable FOR SELECT...Statement

CLOSE cursor variable In order to associate a cursor variable with a particular SELECT statement OPEN syntax is used. In order to free the resources used for the query CLOSE statement is used.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why does for update in oracle 8 cause an ora-01002 error?

559


What to do if the binary spfile is wrong for the default instance?

571


What are the execution control statements?

627


What do you mean by merge in oracle?

600


How do I connect to oracle?

568






please explain.. DB architecture ...

1568


what is the difference between substr and instr function in oracle?

593


Explain the use of file option in exp command.

605


Which are the five query types available in oracle?

536


What are the differences between date and timestamp in oracle?

560


What are the various constraints used in oracle?

562


Explain the different normalization forms?

601


What is tns service name?

631


What are the ways tablespaces can be managed and how do they differ?

1628


what are the advantages of running a database in archive log mode?

1741