| title | MSSQLSERVER_10536 | |
|---|---|---|
| description | MSSQLSERVER_10536 | |
| author | MashaMSFT | |
| ms.author | mathoma | |
| ms.date | 04/04/2017 | |
| ms.service | sql | |
| ms.subservice | supportability | |
| ms.topic | reference | |
| ms.custom |
|
|
| helpviewer_keywords |
|
[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance FabricSQLDB]
| Attribute | Value |
|---|---|
| Product Name | SQL Server |
| Event ID | 10536 |
| Event Source | MSSQLSERVER |
| Component | SQLEngine |
| Symbolic Name | PG_TOO_MANY_STMTS |
| Message Text | Cannot create plan guide '%.*ls' because the batch or module corresponding to the specified @plan_handle contains more than 1000 eligible statements. Create a plan guide for each statement in the batch or module by specifying a statement_start_offset value for each statement. |
The batch or module corresponding to the specified @plan_handle contains more than 1000 eligible statements.
Create a plan guide for each statement in the batch or module by specifying a statement_start_offset value for each statement.
sp_create_plan_guide (Transact-SQL)
Plan Guides
sp_create_plan_guide_from_handle (Transact-SQL)