| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	
		
		
			| Re: refcursor query that returns different refcursor types [message #235112 is a reply to message #234882] | 
			Fri, 04 May 2007 01:58    | 
		 
		
			| 
				
	 | 
 
	
		Hi ashu 
 
i am using reports 10g. 
In my report i am using refcursor query which uses a function that returns a refcursor which is strong (and not weak).That means it has a fixed number of columns to be returned. 
But my situation is like: 
  on satisfying a certain condition: 
      open refcursor for c1,c2 from tablename; 
     else 
       open refcursor for c1,c2,c3 from tablename; 
     end if; 
Because in above code i need to return different no. of columns 
which is not possible,can you give some other method to implement such thing. 
 
Thanks 
Ritika 
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 |