I have tried to get the estimated execution plan in SQL Server Management Studio 2008.
As far as I know the it always returns the best query plan, as an execution plan. Right now I'm working on a research and I need to get all possible query plans for a specific query from SQL Server, and force the engine to execute one of those query plans which is determined as a better query plan using my algorithm, as an execution plan.
Does anybody know how can I get all possible query plans from SQL Server for a specific query and force it to execute one of those as a execution plan ?