SELECT TOP 101 Client.Numero,Client.Name,Client.Street FROM Client WHERE (Client.Name LIKE '242401%' OR Client.Altern_Name LIKE '242401%') AND Client.NoInvoice=3 ORDER BY Client.NameAnd, this is instant:
SELECT TOP 101 Client.Numero,Client.Name,Client.Street FROM Client WHERE Client.Name LIKE '242401%' AND Client.NoInvoice=3 ORDER BY Client.NameAnd, I double checked one more time. I do have index on Client.Name and Client.Altern_Name. I would say this is the only place in our application that I have this. This is why I never experienced it before.