title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | helpviewer_keywords | |
---|---|---|---|---|---|---|---|---|---|
MSSQLSERVER_10538 |
MSSQLSERVER_10538 |
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 | 10538 |
Event Source | MSSQLSERVER |
Component | SQLEngine |
Symbolic Name | PG_INVALID_PLANGUIDE_HANDLE |
Message Text | Cannot find the plan guide either because the specified plan guide ID is NULL or invalid, or you do not have permission on the object referenced by the plan guide. Verify that the plan guide ID is valid, the current session is set to the correct database context, and you have either ALTER DATABASE permission or ALTER permission on the object referenced by the plan guide. |
The ID of the specified plan guide is NULL or invalid, or you do not have permission on the object referenced by the plan guide.
Verify that the plan guide ID is valid, the current session is set to the correct database context, and you have ALTER DATABASE permission or ALTER permission on the object referenced by the plan guide.
sp_create_plan_guide (Transact-SQL)
Plan Guides
sp_create_plan_guide_from_handle (Transact-SQL)