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 24.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.