GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle  >  SQL
Go To First  |  Previous Question  |  Next Question 
 SQL  |  Question 89 of 171    Print  
what is rep cursor?

  
Total Answers and Comments: 6 Last Update: December 04, 2008     Asked by: lohith 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 01, 2006 10:54:08   #1  
Ramprasad K        

RE: what is rep cursor?

Hi

For your kind information its not REP CURSOR its Ref Cursor.

Ref Cursor is a Cursor which dynamically assigns the condition(s)

-Regards


 
Is this answer useful? Yes | No
August 02, 2006 12:41:48   #2  
Rama Krishna,Yerra        

RE: what is rep cursor?

The main Use of Rep Cursor is a cursor without any select statement..

We have to declare the ref cursor in a package and we can recreate the instance of that cursor in the pl/sql block dynamically..

Thanks&Regds

Ramki TCS Deccan Park Hyd


 
Is this answer useful? Yes | No
September 14, 2006 09:11:50   #3  
Venkata Ramana        

RE: what is rep cursor?

Ref cursor is like pointers in C langugae which will point the address of the memory not the result set.


 
Is this answer useful? Yes | No
December 12, 2006 08:04:20   #4  
rampratap409 Member Since: September 2006   Contribution: 111    

RE: what is rep cursor?
any cursor which can be assigned a dynamic sql statement is called a ref cursor. Generaly it is declared in package so that it becomes global and any query can be attached to it.
 
Is this answer useful? Yes | No
July 02, 2007 01:04:26   #5  
nambiaruran        

RE: what is rep cursor?
Ref cursor is a cursor variable used to point a cursor statement. Ref cursor mainly used for returning the cursor values.
 
Is this answer useful? Yes | No
December 04, 2008 04:57:38   #6  
fiaskhan Member Since: December 2008   Contribution: 4    

RE: what is rep cursor?

Ref cursor are used to define cursor variables. It acts as a pointer for memory area.
In a single memory location (context area) we can write any number of select statement. Mainly it is used when you want to fetch data from more than one table.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape