Mega Code Archive
Categories
/
MSSQL Tutorial
/
Transact SQL
Sending Variable Information to an EXEC() Call
DECLARE @IntVal int SET @IntVal = 21 EXEC ('usp_MyProc ' + STR (@IntVal)) GO