sp_cursorunprepare (Transact-SQL)

sp_cursorunprepare (Transact-SQL)


Applies To: SQL Server 2014, SQL Server 2016 Preview

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

sp_cursorunprepare handle


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

Community Additions

© 2015 Microsoft