
I have a SQL Server 2017 select statement that is executed by the front end application. The query has three joins and UNION. Each join statement has a clause where NAME LIKE '%ibm%'.
When I change %ibm% to NAME LIKE %services% is runs fast as usual.
I rebuilt all the indexes on all of the tabl...