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

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

SQL Server Error Code

10502

SQL Server Error Description for the Code :10502

Cannot create plan guide ‘%.*ls’ because the statement specified by @stmt and @module_or_batch, or by @plan_handle and @statement_start_offset, matches the existing plan guide ‘%.*ls’ in the database. Drop the existing plan guide before creating the new plan guide.

Leave Your Comment