T-SQL Tutorial

T-SQL Sp_execute


On Transact SQL language the sp_execute is part of Database Engine Stored Procedures and executes a prepared Transact-SQL statement using a specified handle and optional parameter value.

Sp_execute syntax:

sp_execute handle OUTPUT,
[bound_param ] [,...n ] ;





Sp_execute example:

USE model;
GO
EXEC sp_execute 6, null;
GO