MSSQLSERVER_10519

Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance

Details

Attribute Value
Product Name SQL Server
Event ID 10519
Event Source MSSQLSERVER
Component SQLEngine
Symbolic Name PG_INCOMPATIBLE_STMT_AND_HINTS
Message Text Cannot create plan guide '%.*ls' because the hints specified in @hints cannot be applied to the statement specified by either @stmt or @statement_start_offset. Verify that the hints can be applied to the statement.

Explanation

The hints specified in @hints cannot be applied to the statement specified by either @stmt or @statement_start_offset.

User Action

Specify hints that can be applied to the statement.

See Also

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