Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.34 KB

sp-cursorunprepare-transact-sql.md

File metadata and controls

45 lines (34 loc) · 1.34 KB
title description author ms.author ms.reviewer ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs
sp_cursorunprepare (Transact-SQL)
sp_cursorunprepare discards the execution plan developed in the sp_cursorprepare stored procedure.
markingmyname
maghan
randolphwest
03/07/2025
sql
system-objects
reference
sp_cursorunprepare_TSQL
sp_cursorunprepare
sp_cursorunprepare
TSQL

sp_cursorunprepare (Transact-SQL)

[!INCLUDE SQL Server]

Discards the execution plan developed in the sp_cursorprepare stored procedure. sp_cursorunprepare is invoked by specifying ID = 6 in a tabular data stream (TDS) packet.

:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: Transact-SQL syntax conventions

Syntax

sp_cursorunprepare handle
[ ; ]

Arguments

[!INCLUDE extended-stored-procedures]

handle

The handle value returned by sp_cursorprepare when the statement is prepared.

Related content