Home » U++ Library support » U++ SQL » Sql global 
	
		
		
			| Sql global [message #6598] | 
			Mon, 20 November 2006 08:47   | 
		 
		
			
				
				
				
					
						  
						laurice
						 Messages: 22 Registered: September 2006 
						
					 | 
					Promising Member  | 
					 | 
		 
		 
	 | 
 
	
		How do you declare a global Sql sql instance? 
Why do I need this?  I want to speed up a very long process by executing just one query and my SetTimeCallback function will just fetch it from the global sql.Fetch(). 
 
I tried to declare a global Sql sql and attach the session by  
sql = Sql(session), but it exits the program. 
 
Are there any other approach other than populating global Vectors or Arrays, such as Sql iterators?   
 
Thanks, 
 
Laurice
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 08:48:07 CET 2025 
 Total time taken to generate the page: 0.03782 seconds 
 |