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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / venkat

open cursor then the cursor points to the starting of the data......close the cursor it clears the data after the execution of a program

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

What are operators in oracle?

0 Answers  


can u plz provide me oca sql dumps please i need them

0 Answers  


How to create a single index for multiple columns?

0 Answers  


What SQL query from v$session can you run to show how many sessions are logged in as a particular user account?

1 Answers  


Can any one explain me when i execute below query.. select months_between('07-JUL-12','10-FEB-12') from dual; Out put:- 4.90322581 How oracle calculate?

0 Answers  






What is bulk collect in oracle?

0 Answers  


what happened to the global index when I truncate the data in one of the partition?

0 Answers  


what is the exact definition for pointer?

7 Answers   Wipro,


Difference between oracle's plus (+) notation and ansi join notation?

0 Answers  


What is bulk copy or bcp in oracle?

0 Answers  


I have a parent program and a child program. I want to write a statement in Exception Block of the parent program so that when the statement in the exception block is executed, the control goes to the next statement in the parent block bypassing the child block.How do i do that?

0 Answers   Mastek,


What is the max number of columns in an oracle table?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)