SQL Server Error Code – 10525 plan guide ‘%.*ls’ matched statement aft

In this blog post, you’ll learn more about the SQL Server Error Code 10525 and the error message description that is shown

SQL Server Error Code

10525

SQL Server Error Description for the Code :10525

Plan guide ‘%.*ls’ matched statement after it was parameterized automatically by FORCED or SIMPLE parameterization, but the RECOMPILE hint it contains was ignored. RECOMPILE is not supported on automatically parameterized statements. Consider dropping this plan guide or removing RECOMPILE from it.