Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.29 KB

File metadata and controls

45 lines (33 loc) · 1.29 KB
title MSSQLSERVER_556
description MSSQLSERVER_556
author MikeRayMSFT
ms.author mikeray
ms.date 09/15/2021
ms.service sql
ms.subservice supportability
ms.topic reference
helpviewer_keywords
556 (Database Engine error)

MSSQLSERVER_556

[!INCLUDE SQL Server]

Details

Attribute Value
Product Name SQL Server
Event ID 556
Event Source MSSQLSERVER
Component SQLEngine
Symbolic Name WRONGPAGE
Message Text INSERT EXEC failed because the stored procedure altered the schema of the target table.

Explanation

Query store is on.

The plan is removed after the Query Store fills up.

User action

Increase the size of the Query Store.

Clear the procedure cache when Query Store comes back from READ WRITE state

Recompile just the INSERT EXEC statement to force it to go through the regular compile path and avoid hitting this exception due to unplanned recompilation caused by plan missing in Query Store.

For more information, see our troubleshooting article on error 556.

See also

DBCC CHECKTABLE (Transact-SQL)