SQL Server Error Code – 10522 cannot create plan guide ‘%.*ls’ because

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

SQL Server Error Code

10522

SQL Server Error Description for the Code :10522

Cannot create plan guide ‘%.*ls’ because @hints has illegal value. @hints must be OPTION(PARAMETERIZATION FORCED) or OPTION(PARAMETERIZATION SIMPLE) if @type is ‘template’.