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 is Materialized view? What is a snapshot? what are the similarities and differences between Materialized views and snapshots?

2 Answers  


What is oracle database client?

0 Answers  


Find all employees in Dept “Marketing”.

2 Answers  


What is index in Oracle?

0 Answers   MCN Solutions,


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,






Explain what are the type of synonyms?

0 Answers  


How to filter out duplications in the returning rows using oracle?

0 Answers  


How can I introduce multiple conditions in like operator?

0 Answers  


How to loop through data rows in the implicit cursor?

0 Answers  


Explain 1st, 2nd, 3rd normalization form of data base

3 Answers   KH, Thermotech,


What is a materialised view?

5 Answers  


what is dynamic SGA and static SGA

0 Answers   Oracle,


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)