Hi All,
We have a Query which is taking long some to execute but works fine some, so wanted to create a plan guide using sp_create_plan_guide_from_handle, but our version is SQL Server 2005, this sp is introduced in 2008.
Our database is running in Comatibility mode 2000(80), can we create a plan guide using sp_create_plan_guide ? and does the optimizer considers the plan guide if the database is in compatibility mode.
Thanks
Kushal