Hello MS Access Forum,
I have a stored procedure that relies on 4 LIKE '%abc%' statements. (See example code below) The table has ~850K records. Is there something that can be done to improve performance?
Thank you for your advice.
	
	
	
		
 I have a stored procedure that relies on 4 LIKE '%abc%' statements. (See example code below) The table has ~850K records. Is there something that can be done to improve performance?
Thank you for your advice.
		Code:
	
	
	SELECT GENERATOR_ID
FROM dbo.tblGenerators
WHERE GENERATOR_NAME LIKE '%' + @SearchTerm + '%'
   OR GENERATOR_LOCATION_STREET1 LIKE '%' + @SearchTerm + '%'
   OR GENERATOR_LOCATION_CITY LIKE '%' + @SearchTerm + '%'
   OR GENERATOR_LOCATION_STATE LIKE '%' + @SearchTerm + '%'; 
	 
 
		 
 
		 
 
		 
 
		 
					
				 
 
		