  | 
			
				SoftTree Technologies 
				Technical Support Forums
			 | 
		 
		  | 
	 
	 
	
	
	
		
	
	
	
		| Author | 
		Message | 
	 
	
		
			stephh 
			 
			
  
			
			
				Joined: 29 Jul 2021 Posts: 46
  | 
			 
			  
		 | 
		
			
				  SQLA for Microsoft Azure SQL Data Warehouse ? | 
				     | 
			 
			
				Hello,
 
 
I've some databases in Fabric.
 
The version of this SQL is "Microsoft Azure SQL Data Warehouse (RTM) - 12.0.2000.8"
 
 
I tried to change some "DB Queries" in SQL Assistant.
 
I changed all 
 
IF @@version like '%SQL Azure%'
 
to
 
IF @@version like '%Azure%'
 
 
But only the half works, I only have DB names, no schema list, no tables list when I type in SSMS.
 
 
Any tips to have a full auto-completion in this environment ?
 
 
Thanks
  | 
			 
		  | 
	 
	
		| Fri Apr 11, 2025 9:50 am | 
		          | 
	 
	
		  | 
	 
	
		
			SysOp 
			Site Admin 
			
  
			
			
				Joined: 26 Nov 2006 Posts: 7992
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				I'm guessing not all changes were correct or not queries updated. There is an option in every query in the Options dialog to test it. You can use "Test..." button in the top-right corner. That could check for syntax errors
 
 
Best option is to copy each of the queries into a sql editor and execute from there with specific values instead of parameter placeholders to see what is actually returned. Pretty sure you can tune the queries to work with Azure SQL Data Warehouse.
  | 
			 
		  | 
	 
	
		| Fri Apr 11, 2025 10:56 am | 
		          | 
	 
	
		  | 
	 
	
		
			stephh 
			 
			
  
			
			
				Joined: 29 Jul 2021 Posts: 46
  | 
			 
			  
		 | 
		
			
				   | 
				     | 
			 
			
				Hi SysOp
 
 
Thanks for the reply.
 
It's exactly what I did. 
 
Each query returns something, but unfortunately, there is no suggestion for schemas/columns when I type my code.
 
Columns must be returned by queries "Objects" and "Objects + Types Synonyms" , is it correct ?
  | 
			 
		  | 
	 
	
		| Tue Apr 15, 2025 6:18 am | 
		          | 
	 
	
		  | 
	 
	
		 | 
	 
 
  
	 
	    
	   | 
	
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
  | 
   
 
		 | 
	 
	  |