The easy way is to right-click
on the procedure
in Sql Server Management Studio (SSMS),
(最简单的方法是right-click
该procedure
在SQL Server Management Studio中 (SSMS))
select execute stored procedure...
(选择execute stored procedure...
)
and add values for the input parameters as prompted.
(并根据提示为输入参数添加值。)
SSMS
will then generate the code to run the proc in a new query window, and execute it for you.
(然后, SSMS
将生成代码以在新的查询窗口中运行proc并为您执行。)
You can study the generated code to see how it is done. (您可以研究生成的代码以了解其完成方式。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…