Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.5 KB

mssqlserver-10507-database-engine-error.md

File metadata and controls

37 lines (31 loc) · 1.5 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
MSSQLSERVER_10507
MSSQLSERVER_10507
MashaMSFT
mathoma
04/04/2017
sql
supportability
reference
10507 (Database Engine error)

MSSQLSERVER_10507

[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance]

Details

Attribute Value
Product Name SQL Server
Event ID 10507
Event Source MSSQLSERVER
Component SQLEngine
Symbolic Name PG_STMT_DOES_NOT_MATCH
Message Text Cannot create plan guide '%.*ls' because the statement specified by @stmt and @module_or_batch, or by @plan_handle and @statement_start_offset, does not match any statement in the specified module or batch. Modify the values to match a statement in the module or batch.

Explanation

A statement in the specified module or batch could not be matched to the specified statement or statement offset value.

User Action

Modify the specified parameter values to match a statement in the module or batch.

See Also

Plan Guides
sp_create_plan_guide (Transact-SQL)
sp_create_plan_guide_from_handle (Transact-SQL)