sp_cursorunprepare (Transact-SQL)

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

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.

||
|-|
|Applies to: SQL Server ( SQL Server 2008 through current version).|

Topic link icon Transact-SQL Syntax Conventions

Syntax


sp_cursorunprepare handle  

Arguments

handle
Is the handle value that is returned by sp_cursorprepare when the statement is prepared.

See Also

sp_cursorprepare (Transact-SQL)
System Stored Procedures (Transact-SQL)