Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.52 KB

mssqlserver-10521-database-engine-error.md

File metadata and controls

37 lines (31 loc) · 1.52 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords
MSSQLSERVER_10521
MSSQLSERVER_10521
MashaMSFT
mathoma
04/04/2017
sql
supportability
reference
10521 (Database Engine error)

MSSQLSERVER_10521

[!INCLUDE SQL Server Azure SQL Database Azure SQL Managed Instance]

Details

Attribute Value
Product Name SQL Server
Event ID 10521
Event Source MSSQLSERVER
Component SQLEngine
Symbolic Name PG_PARAM_NEEDED
Message Text Cannot create plan guide '%.*ls' because @type was specified as '%ls' and the parameter '%ls' is NULL. This type requires a non-NULL value for the parameter. Specify a non-NULL value for the parameter, or change the type to one that allows a NULL value for the parameter.

Explanation

The type specified in @type requires a non-NULL value for the specified parameter; however a NULL value was supplied.

User Action

Specify a non-NULL value for the parameter, or change the type to one that allows a NULL value for the parameter.

See Also

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