Executing Procedures in SSMS
To execute a stored procedure in SSMS, open the object tree for the database, open the Programmability
folder, and open the Stored Procedures
folder. Then right-click the stored procedure, and from the context menu, choose Execute Stored Procedure. SSMS then presents you with the Execute Procedure dialog, as shown in Figure 28.3. In this window, you can enter values for any parameters contained in the stored procedure. If you want to pass a NULL
value to a parameter, you need to be sure to place a check mark in the Pass Null Value check box for that parameter.
After you specify values for all the parameters, SSMS opens a new query window with the generated ...
Get Microsoft® SQL Server 2008 R2 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.