| title | MSSQLSERVER_10519 | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 04/04/2017 | |
| ms.prod | sql | |
| ms.reviewer | ||
| ms.technology | supportability | |
| ms.topic | language-reference | |
| helpviewer_keywords |
|
|
| ms.assetid | 3be393a1-b186-41ae-afb9-a3d07ff354bb | |
| author | MashaMSFT | |
| ms.author | mathoma |
[!INCLUDEappliesto-ss-xxxx-xxxx-xxx-md]
| 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. |
The hints specified in @hints cannot be applied to the statement specified by either @stmt or @statement_start_offset.
Specify hints that can be applied to the statement.
sp_create_plan_guide (Transact-SQL)
Plan Guides
sp_create_plan_guide_from_handle (Transact-SQL)