I had a problem query (taking to long to execute) that uses the Like operator, and have found that when i copied all my existing tables into a new database & Ran the Index Tuning Wizard, this solved my speed issue with my query.
My problem is, running the index tuning wizard on my original tables does nothing !!! (and yes all the tables, relationships, indexes e.t.c are identical, believe me i have checked)
If i could make my original database use the Indexed View that has been created (by the index Tuning Wizard) for my query, all my problems would be solved, unfortunatly i don't know how!!
Does anybody have any ideas, or suggestions on what i could do about this ????
n.b - I am more than happy to post Execution plans for the queries (the same query, but different execution plan, depending on which database it is being run on)
Any help or suggestions would be grately appreciated !