- 1). Start SQL Server Enterprise Manager, click the "Tools" menu and select "SQL Query Analyzer."
- 2). Type the following to execute the "CustOrderHist" stored procedure in the "Northwind" database:
exec CustOrderHist 'ALFKI'
Edit 'ALFKI' to send a different customer ID as a parameter to the stored procedure. - 3). Press "F5" to execute the stored procedure.
SHARE