title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | helpviewer_keywords | |
---|---|---|---|---|---|---|---|---|---|
MSSQLSERVER_10531 |
MSSQLSERVER_10531 |
MashaMSFT |
mathoma |
04/04/2017 |
sql |
supportability |
reference |
|
[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance]
Attribute | Value |
---|---|
Product Name | SQL Server |
Event ID | 10531 |
Event Source | MSSQLSERVER |
Component | SQLEngine |
Symbolic Name | PG_NO_ELIGIBLE_STMT |
Message Text | Cannot create plan guide '%.*ls' from cache because the user does not have adequate permissions. Grant the VIEW SERVER STATE permission to the user creating the plan guide. |
The user does not have adequate permissions to create the specified plan guide from the plan cache.
Grant VIEW SERVER STATE permission to the user creating the plan guide.
Plan Guides
sp_create_plan_guide (Transact-SQL)
sp_create_plan_guide_from_handle (Transact-SQL)