Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15264

does sp_create_plan_guide works when Database is in 2000 (80) compatibility mode

$
0
0

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


Viewing all articles
Browse latest Browse all 15264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>